-
Notifications
You must be signed in to change notification settings - Fork 28
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
[Discussion] Apps do not update during core upgrade process if they are not enable. #422
Comments
Does the app need to be enabled if there are migrations which are part of the update? |
imho: disabled = unused so no action is needed. |
What happens if the core gets updated past the min/max constraint of the disabled app? If admin suddenly decides he wants to use this app he can not re-enable it for a update? |
@IljaN then he needs to run or to take the same actions via the market web UI |
Intuitively I would want disabled apps to be upgraded as well (e.g. security fixes) as they are still installed, just not in use. When the admin activates them again (which is the purpose of disabling an app) it would be good to have the current version (currently admins probably won't even notice when this is not the case). When admins don't want to have apps anymore, they should uninstall them. Opinion @PVince81 ? |
yeah, I'd also prefer that as it's more intuitive than expecting admins to remember to update the app with "occ market:upgrade" first. if we were to show a warning, not sure where and how. |
We should add a flag in the case that you don't want to upgrade the app while enabling it: example
in case that is the version you already tested in your staging system |
Steps to reproduce
1 . Having an app installed in our server but not enabled. (Disabled in
occ app:list
section)2. run
occ upgrade
in order to upgrade the serverExpected result
Should disabled apps get updated too or not?
Current result
Apps that are disabled are not updated. If we want to get the apps updated then they should be enabled.
Suggestion
We can change the behavior to upgrade the code but leave the app disabled
@VicDeo @PVince81 @pmaier1 @IljaN
The text was updated successfully, but these errors were encountered: