Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-251

Child nodes mentioned in parent node's docview xml are not cleared correctly during installation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.1.42
    • Fix Version/s: 3.1.44
    • Component/s: Packaging
    • Labels:
      None

      Description

      If a repository contains the following structure

      + testroot [nt:unstructured]
        + testchild [nt:unstructured]
           - property: value (String)
      

      And a package is being installed there containing a .content.xml file below folder /testroot with the following content only

      <?xml version="1.0" encoding="UTF-8"?>
      <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal"
          jcr:primaryType="nt:unstructured">
          <testchild/>
      </jcr:root>
      

      and a filter.xml like this

      <?xml version="1.0" encoding="UTF-8"?>
      <workspaceFilter version="1.0">
          <filter root="/testroot" mode="replace"/>
      </workspaceFilter>
      

      and apart from that no further files/folders, the repository child node at /testroot/testchild is not correctly cleared, i.e. the property with name "property" and value "value" is still there after installation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kwin Konrad Windszus
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: