[ 
https://issues.apache.org/jira/browse/SLING-4746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-4746.
-------------------------------------
    Resolution: Won't Fix

Bundle location is not updated when a bundle is updated (this is according to 
the spec).
It really depends if the remove/add of a bundle is reported to the installer in 
one command. In this case an update is performed, but if its remove first, and 
then add, the bundle is uninstalled and then installed. Creating a new bundle 
with a new location.
This can happen with the jcr installer and package installs for example.

Therefore I set this to won't fix. If you think there is still an issue to be 
fixed in the installer please reopen but also provide a reproducible test 
scenario

> Installer does not consistently update bundle location in Webconsole
> --------------------------------------------------------------------
>
>                 Key: SLING-4746
>                 URL: https://issues.apache.org/jira/browse/SLING-4746
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>    Affects Versions: File Installer 1.0.4
>            Reporter: Jörg Hoh
>
> I have a sling-based application using Apache Oak as content repository. I 
> started with Oak being part of the Launchpad, so I had for example a bundle 
> "org.apache.jackrabbit.oak-solr-osgi" in version 1.0. The OSGI Webconsole 
> displayed as bundle location 
> "launchpad:resources/install.crx3/15/oak-solr-osgi-1.0.0.jar", which is 
> perfect.
> Now I upgraded Oak to version 1.0.13 by putting the bundles inside 
> /libs/system/install. The OSGI Webconsole displays for my bundle 
> oak-solr-osgi the version 1.0.13, but still shows as Bundle location the 
> string "launchpad:resources/install.crx3/15/oak-solr-osgi-1.0.0.jar".
> But this isn't true for all bundles. For example I deployed the bundle oak-mk 
> in version 1.0.13 in the very same way as the oak-solr-osgi bundle, but there 
> the bundle location is updated and displays 
> "jcrinstall:/libs/system/install.crx3/oak-mk-1.0.13.jar", which is correct.
> So the update process seems to work to reliably. I've seen this behaviour not 
> only for mixed installers, but also with jcrinstaller only.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to