Davide Maestroni wrote
> Hi all,
>
> I came across an issue with the <Sling-Initial-Content> setting in my
> bundle.
> As far as I set it to "SLING-INF/content;overwrite:=false" everything works
> correctly, i.e. when I re-deploy the bundle the content of the repository is
> still there. But, after the first time I deploy it with
> "SLING-INF/content;overwrite:=true" there's no way to return to the previous
> setting. In fact, even if I re-deploy the bundle with the original
> configuration ("SLING-INF/content;overwrite:=false"), the content is deleted
> every time.
>
> Here is what I did:
> 1) deploy the bundle with "overwrite:=false"
> 2) add some nodes
> 3) deploy the bundle with "overwrite:=false", the nodes are still there (OK)
> 4) deploy the bundle with "overwrite:=true", the nodes are deleted (OK)
> 5) add some nodes
> 6) deploy the bundle with "overwrite:=false", the nodes are not there (OK,
> since uninstall was implicitly true)
> 7) add some nodes
> 8) deploy the bundle with "overwrite:=false", the nodes are not there
> anymore! (NG)
> 9) add some nodes
> 10) deploy the bundle with "overwrite:=false", the nodes are still not
> there! (NG)
>
> I tried also to explicitly set the "uninstall" property but with no luck.
> What's wrong with my configuration?
>
I'm not 100% sure but maybe you hit a bug in the content installer. Can
you please create a JIRA issue for this?
Thanks
Carsten
--
Carsten Ziegeler
[email protected]