This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.testing.sling-mock-1.1.2 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-sling-mock.git
commit 0a167f6d1eded419902d94667d32a216152ec22a Author: Robert Munteanu <[email protected]> AuthorDate: Sun Dec 28 22:47:13 2014 +0000 SLING-4268 - ContentLoader should not try to import ACLs Skip nodes named rep:policy when importing. This is not 100% full-proof ( looking at the node's primary type would be ideal ) but will work for all practical cases. git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/sling-mock@1648266 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/sling/testing/mock/sling/loader/ContentLoader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/sling/testing/mock/sling/loader/ContentLoader.java b/src/main/java/org/apache/sling/testing/mock/sling/loader/ContentLoader.java index b434604..6a83d9f 100644 --- a/src/main/java/org/apache/sling/testing/mock/sling/loader/ContentLoader.java +++ b/src/main/java/org/apache/sling/testing/mock/sling/loader/ContentLoader.java @@ -58,7 +58,8 @@ public final class ContentLoader { private static final Set<String> IGNORED_NAMES = ImmutableSet.of(JcrConstants.JCR_PRIMARYTYPE, JcrConstants.JCR_MIXINTYPES, JcrConstants.JCR_UUID, JcrConstants.JCR_BASEVERSION, - JcrConstants.JCR_PREDECESSORS, JcrConstants.JCR_SUCCESSORS, JcrConstants.JCR_CREATED, "jcr:checkedOut"); + JcrConstants.JCR_PREDECESSORS, JcrConstants.JCR_SUCCESSORS, JcrConstants.JCR_CREATED, "jcr:checkedOut", + "rep:policy"); private final ResourceResolver resourceResolver; private final BundleContext bundleContext; -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
