Bertrand Delacretaz created SLING-2669:
------------------------------------------

             Summary: 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

Reply via email to