[
https://issues.apache.org/jira/browse/JCRVLT-793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17914135#comment-17914135
]
Christian Schneider commented on JCRVLT-793:
--------------------------------------------
Issue JCRVLT-522 seems to be about the behaviour at import time.
In this case I think the problem is at export time. Allow element should not be
part of the export with the filter .*/rep:policy (as far as I understand the
syntax).
> Error when importing group: Invalid child node with type null
> -------------------------------------------------------------
>
> Key: JCRVLT-793
> URL: https://issues.apache.org/jira/browse/JCRVLT-793
> Project: Jackrabbit FileVault
> Issue Type: Bug
> Components: vlt
> Reporter: Christian Schneider
> Priority: Major
>
> We identified an error when exporting / importing a group in sling
> distribution.
> The error is related to filter settings used in AEM but it is reproducible in
> a filevault integration test.
> Filter settings:
>
> {code:java}
> pathFilterSet.addInclude(new DefaultPathFilter("/\\Q" + path.substring(1) +
> "\\E");
> pathFilterSet.addInclude(new DefaultPathFilter(".*/rep:policy")); {code}
> Error:
> {noformat}
> Caused by: org.xml.sax.SAXException:
> javax.jcr.nodetype.ConstraintViolationException: Invalid child node with type
> null at
> org.apache.jackrabbit.oak.jcr.xml.SysViewImportHandler.processNode(SysViewImportHandler.java:92)
> at
> org.apache.jackrabbit.oak.jcr.xml.SysViewImportHandler.endElement(SysViewImportHandler.java:221)
> at
> org.apache.jackrabbit.oak.jcr.xml.ImportHandler.endElement(ImportHandler.java:197)
> at
> org.apache.jackrabbit.vault.fs.impl.io.JcrSysViewTransformer.endNode(JcrSysViewTransformer.java:273)
> ... 60 common frames omittedCaused by:
> javax.jcr.nodetype.ConstraintViolationException: Invalid child node with type
> null at
> org.apache.jackrabbit.oak.security.authorization.accesscontrol.AccessControlImporter.startChildInfo(AccessControlImporter.java:170)
> at
> org.apache.jackrabbit.oak.jcr.xml.ImporterImpl.startNode(ImporterImpl.java:375)
> at
> org.apache.jackrabbit.oak.jcr.xml.SysViewImportHandler.processNode(SysViewImportHandler.java:81)
> ... 63 common frames omitted{noformat}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)