- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4.6k
Fix tracking of auto disabled apps in Updater #16507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| @nickvergessen I'm not too deep into  | 
| Would like to have some review / comment whether this is the fix we are looking for. | 
        
          
                lib/private/Updater.php
              
                Outdated
          
        
      | throw new \UnexpectedValueException('The files of the app "' . $app . '" were not correctly replaced before running the update'); | ||
| } | ||
| \OC::$server->getAppManager()->disableApp($app); | ||
| $this->autoDisabledApps[] = $app; | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe instead we move the logic to the appmanager method with a bool flag.
So when someone adds another spot that disables an app, they are reminded about the option.
| Added a commit, I think that's the cleaner way to do it. | 
| Thanks for fixing this, @georgehrke. I assume backporting to v16 is also part of the plan, here, but wanted to mention it anyway. | 
| Failing tests are 
 So time to rebase? | 
| /backport to stable16 | 
| /backport to stable15 | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code makes sense and all usages of disableApp that are affected are covered 👍
c9d713d    to
    c3752ef      
    Compare
  
    | 
 Rebased and auto squashed. | 
| Still have a few test failures, here. | 
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
c3752ef    to
    810ee7d      
    Compare
  
    | Hey folks, what's the hold up here? We were really hoping this would be in 16.0.4. | 
| The backport to stable16 failed. Please do this backport manually. | 
| The backport to stable15 failed. Please do this backport manually. | 
| 
 Backport to stable16 is #16753. | 
fixes #15416