[
https://issues.apache.org/jira/browse/SLING-3741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054927#comment-14054927
]
Robert Munteanu commented on SLING-3741:
----------------------------------------
* http://svn.apache.org/viewvc?view=revision&revision=1608772 - simplified
repository API for deleting nodes
* http://svn.apache.org/viewvc?view=revision&revision=1608773 - when resource
data is found in a covering parent on a resource delete, generate an
add/update operation instead.
[~egli] - with the above changes, folder deletion should no longer be
problematic, given that the parent's .content.xml is changed beforehand. Can
you please cross-check?
> When processing deleted folders, check for a covering aggregate higher in the
> filesytem hierarchy
> -------------------------------------------------------------------------------------------------
>
> Key: SLING-3741
> URL: https://issues.apache.org/jira/browse/SLING-3741
> Project: Sling
> Issue Type: Bug
> Components: IDE
> Affects Versions: Sling Eclipse IDE 1.0.0
> Reporter: Robert Munteanu
> Assignee: Robert Munteanu
> Fix For: Sling Eclipse IDE 1.0.2
>
> Attachments: sling3741.zip
>
>
> Minimal scenario reported by [~egli]
> * Create:
> {code}
> grandparent [nt:unstructured]
> \- parent [nt:unstructured]
> |- child1 [nt:unstructured]
> \- child2 [nt:unstructured]
> {code}
> * Then change child2 to sling:Folder
> * Changing child2 back to nt:unstructured then causes the deletion of parent
> (since I delete parent/child2 and parent folders explicitly, as they are no
> longer needed)
--
This message was sent by Atlassian JIRA
(v6.2#6252)