You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2014/10/23 20:43:33 UTC

[jira] [Created] (SLING-4098) Full coverage aggregates nested under a partial coverage aggregate incorrectly deleted when a sibling resource is published

Robert Munteanu created SLING-4098:
--------------------------------------

             Summary: Full coverage aggregates nested under a partial coverage aggregate incorrectly deleted when a sibling resource is published
                 Key: SLING-4098
                 URL: https://issues.apache.org/jira/browse/SLING-4098
             Project: Sling
          Issue Type: Bug
          Components: IDE
    Affects Versions: Sling Eclipse IDE 1.0.4
            Reporter: Robert Munteanu
            Priority: Critical
             Fix For: Sling Eclipse IDE 1.0.6


Consider the following content structure:

{noformat}
- item [sling:Folder]
\- config [sling:OsgiConfig]
\- html.jsp [nt:file]
{noformat}

When publishing a change on html.jsp, the config node is incorrectly deleted, as detected by the tracing code:

{quote}| 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 |{quote}

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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)