Hi,

If I export the system view of a subtree that contains ACLs, and then import 
that XML into an empty repository, none of the ACLs are imported.

I have verified using system view exports of the entire repository (ie: the 
root node "/") that all that is missing of the data I have in the original 
repository is the ACLs.
All I have is:
<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>

Whereas I should have:
<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="allow">
  <sv:property sv:name="jcr:primaryType" sv:type="Name">
    <sv:value>rep:GrantACE</sv:value>
  </sv:property>
  <sv:property sv:name="rep:principalName" sv:type="String">
    <sv:value>authors</sv:value>
  </sv:property>
  <sv:property sv:name="rep:privileges" sv:type="Name">
    <sv:value>jcr:all</sv:value>
  </sv:property>
  </sv:node>
</sv:node>

This is with Jackrabbit 2.1.0.

Am I doing something wrong?

 -- Cory

PS: On a side not, it's interesting that the mix:created mixin retains the 
createdBy username however it gets the current created timestamp - essentially 
losing data and somewhat inconsistent.
It sorta makes sense, but then again it'd be nice if you could force it to 
honour the import value somehow.

Reply via email to