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

Tobias Bocanegra commented on SLING-311:
----------------------------------------

well this is exactly the problem. assume the bundle is installed and started 
and the content is loaded.
the i shutdown the server and delete the repository. the next time i start the 
server, i want the content
freshly installed. so the only place to store the information if the content 
was installed is the repository.

i have no problem uninstalling the bundle if the content-loading for that 
bundle should be avoided.

> Record loaded content to not reload inadvertedly.
> -------------------------------------------------
>
>                 Key: SLING-311
>                 URL: https://issues.apache.org/jira/browse/SLING-311
>             Project: Sling
>          Issue Type: Improvement
>          Components: Resource
>            Reporter: Felix Meschberger
>             Fix For: 2.0.0
>
>
> Currently, the content loader always reloads content indicated as initial 
> content from the bundles if the repository does not contain the respective 
> content. Sometimes it may be desirable to remove the content from the 
> repository and not get the content reloaded on bundle (or system) restart.
> To prevent such content reload, the content loader should take note of loaded 
> content and not try to reload content, which is marked as "loaded", 
> regardless of whether the actual content (still) exists or not.

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