-
Type: Sub-task
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.4
-
Fix Version/s: 5.5
-
Component/s: Update Center
-
Upgrade notes:
User Story :
On a 5.4.0 instance, I install packageA-1.0.0.
Then I manually upgrade Nuxeo to 5.4.0.1 => I keep data directory and DB.
After upgrade I see that packageA-1.0.0 is reported as installed whereas it is not true (since the bundles directory was completely replaced).
Technical background :
The packages directory contains meta-data on all installed packages.
=> After an upgrade or any manual changes we should be able to do a check on installed packages
==> mark some packages as broken / need to reinstall
Sub tasks :
- generate a check.xml at install time (bundle name + digest)
- add a check API on update manager
- add a blocken state for packages
- add a remove / reinstall action