[ 
https://issues.apache.org/jira/browse/SLING-931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711058#action_12711058
 ] 

Bertrand Delacretaz commented on SLING-931:
-------------------------------------------

Fixed in revision 776361, leaving this issue open until corresponding tests are 
added

> Felix webconsole not restarted after upgrading via jcrinstall
> -------------------------------------------------------------
>
>                 Key: SLING-931
>                 URL: https://issues.apache.org/jira/browse/SLING-931
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR Install
>            Reporter: Bertrand Delacretaz
>
> After upgrading the Felix webconsole from 1.2.6 to 1.2.8 via jcrinstall, by 
> copying the 1.2.8 bundle in a JCR repository folder that's watched by 
> jcrinstall, the webconsole bundle is not restarted.
> AFAICS the failure scenario is:
> - jcrinstall updates the webconsole bundle and starts a package refresh
> -Several bundles that import the webconsole plugin interfaces are stopped and 
> restarted
> -That causes more bundles to stop and restart, including eventually jcrinstall
> -As jcrinstall doesn't persist the list of bundles that must be restarted 
> after the update, the webconsole restart is lost
> Steps to reproduce:
> Start the sling launchpad/app
> Install the Felix shell and shell text UI services 
> (http://felix.apache.org/site/downloads.cgi)
> Install and start the Sling runmode and jcrinstall bundles.
> Uninstall the webconsole bundle using the Felix shell UI.
> Install and start the Felix webconsole 1.2.6 using the Felix shell UI. 
> Refresh packages, from the Felix webconsole or shell.
> Try to install the Felix webconsole 1.2.8 via jcrinstall, by copying it in 
> the repository under /libs/testing/install
> Result:
> /system/console does not display the console anymore
> After starting the console bundle from the Felix shell, things are back to 
> normal

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to