[
https://issues.apache.org/jira/browse/SLING-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu closed SLING-2000.
----------------------------------
> 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: Installer Core 3.1.2
> Reporter: Felix Meschberger
> Assignee: Carsten Ziegeler
> Fix For: Installer Core 3.2.0
>
>
> 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 was sent by Atlassian JIRA
(v6.4.14#64029)