Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
JCR Contentloader 2.0.2
-
None
Description
Currently the initial content is removed on a bundle stop - while this is logically ok (content is installed on bundle start, and content shouldn't be available when bundle is not running anymore), this creates problems when the server is shutdown as the bundle is stopped and therefore removes all content on shutdown.
(of course the content is added again on server startup)
Therefore it's better to remove the content only when the bundle is uninstalled. As a consequence of not uninstalling the initial content anymore when the bundle is stopped, content update when the bundle is updated must be adapted and take care on properly replacing old content with new content.