[
https://issues.apache.org/jira/browse/SLING-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589463#action_12589463
]
Carsten Ziegeler commented on SLING-311:
----------------------------------------
I'm not sure if we can use the mark for overwriting/handling the update case -
if I start a bundle, the mark will be added. If I now update the bundle,
the mark is still there. Or do you want to remove the mark on bundle stop?
If the user touched the content in the meantime and for instance added child
nodes etc., then maybe the approach described might work and seems to be good
enough.
> 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.