i developing apache sling wcms. export subtree of repository contents xml file using session.exportsystemview(...)
, works perfectly.
when restore xml file, using session.importxml(...)
of data except access control entries set on nodes in subtree , jcr:policy
nodes have no child.
i want know how restore of data jcr policies.
my problem solved adding protectednodeimporter
configuration workspace.xml
follow:
<?xml version="1.0" encoding="utf-8"?> <workspace name="default"> .... <import> <protectednodeimporter class="org.apache.jackrabbit.core.xml.accesscontrolimporter"/> </import> </workspace>
Comments
Post a Comment