Bundle downgrade will uninstall newer version instead of actually "update" to
the old version
---------------------------------------------------------------------------------------------
Key: SLING-2000
URL: https://issues.apache.org/jira/browse/SLING-2000
Project: Sling
Issue Type: Bug
Components: Installer
Affects Versions: JCR Installer 3.0.2
Reporter: Felix Meschberger
Placing a bundle -- say Sling Script JavaScript 2.0.10 -- in a JCR Install
supervised folder will install this bundle
Placing a newer version into the same folder -- say Sling Script JavaScript
2.0.12 -- while leaving the older version will upgrade the bundle to the new
version.
Now removing the newer version from the folder again should actually downgrade
the bundle to the previous version again.
What instead happens is that the new version is uninstalled and the old version
is freshly installed.
The problem with this is that it might render Configuration Admin configuration
unusable (since it may be bound to the old bundle's bundle location) and it
will remove any bundle private data which might have been preserved in a simple
bundle "upgrade".
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira