Active bundles queue must be reprocessed if bundle.start() fails
----------------------------------------------------------------
Key: SLING-731
URL: https://issues.apache.org/jira/browse/SLING-731
Project: Sling
Issue Type: Bug
Components: JCR Install
Reporter: Bertrand Delacretaz
In BundleResourceProcessor.startBundles, if Bundle.start() fails the bundle is
re-added to the activeBundles queue, but the needsRefresh flag is not set.
If several bundles which depend on each other fill this queue, it might happen
that the first one does not start because it needs another one that's in the
queue.
When that happens, the queue remains non-empty, but is never refresh if no new
bundles are detected.
The consequence is that some bundles might not be started until a new bundle
arrives which causes the needsRefresh flag to be set.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.