You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2012/11/16 16:36:12 UTC
[jira] [Resolved] (SLING-2669) BundleUpdateTask should set start
level after updating bundle
[ https://issues.apache.org/jira/browse/SLING-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz resolved SLING-2669.
----------------------------------------
Resolution: Fixed
Fixed in revision 1410398
> BundleUpdateTask should set start level after updating bundle
> -------------------------------------------------------------
>
> Key: SLING-2669
> URL: https://issues.apache.org/jira/browse/SLING-2669
> Project: Sling
> Issue Type: Bug
> Components: Installer
> Affects Versions: Installer Core 3.4.0
> Reporter: Bertrand Delacretaz
> Priority: Minor
> Fix For: Installer Core 3.4.2
>
>
> The BundleUpdateTask sets the start level of a bundle right before updating it - if the bundle is already present, that can cause the existing version to be started, which causes an exception in Bundle.update():
> org.osgi.framework.BundleException: Bundle com.example.foo [58] cannot be update,
> since it is either starting or stopping.
> To avoid this problem, we should set the start level after updating the bundle.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira