[MAGNOLIA-5118] CLONE - Exporting a tree as xml starting from root includes rep:accesscontrol node - port Created: 17/Jun/13  Updated: 08/Jul/13  Resolved: 01/Jul/13

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 5.0
Fix Version/s: 5.0.1

Type: Bug Priority: Critical
Reporter: Federico Grilli Assignee: Ondrej Chytil
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MAGNOLIA-5066 Exporting a tree as xml starting from... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

To reproduce simply

The xml output will contain the following cruft on top

<sv:node sv:name="rep:accesscontrol">
    <sv:property sv:name="jcr:primaryType" sv:type="Name">
      <sv:value>rep:AccessControl</sv:value>
    </sv:property>
    <sv:node sv:name="everyone">
      <sv:property sv:name="jcr:primaryType" sv:type="Name">
        <sv:value>rep:PrincipalAccessControl</sv:value>
      </sv:property>
      <sv:node sv:name="rep:policy">
        <sv:property sv:name="jcr:primaryType" sv:type="Name">
          <sv:value>rep:ACL</sv:value>
        </sv:property>
        <sv:node sv:name="entry">
          <sv:property sv:name="jcr:primaryType" sv:type="Name">
            <sv:value>rep:GrantACE</sv:value>
          </sv:property>
          <sv:property sv:name="rep:nodePath" sv:type="Path">
            <sv:value>/</sv:value>
          </sv:property>
          <sv:property sv:name="rep:principalName" sv:type="String">
            <sv:value>everyone</sv:value>
          </sv:property>
          <sv:property sv:name="rep:privileges" sv:type="Name" sv:multiple="true">
            <sv:value>jcr:read</sv:value>
          </sv:property>
        </sv:node>
      </sv:node>
    </sv:node>
  </sv:node>

Generated at Mon Feb 12 04:02:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.