Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Sling Eclipse IDE 1.0.4
-
None
Description
Consider the following content structure:
- item [sling:Folder] \- config [sling:OsgiConfig] \- html.jsp [nt:file]
When publishing a change on html.jsp, the config node is incorrectly deleted, as detected by the tracing code:
| Worker-14 | 2014-10-23 21:37:36.905 | org.apache.sling.ide.impl-vlt | /debug | org.apache.sling.ide.impl.vlt.AddOrUpdateNodeCommand | processDeletedNodes | 139 | Deleting node /apps/example/item/config as it is no longer present in the local checkout |
Other nt:file resources are not deleted when publishing. Also this does not happen unless the parent folder has a .content.xml file ; for an nt:folder parent the bug does not happen.