kwin commented on a change in pull request #76:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-cpconverter/pull/76#discussion_r628145241



##########
File path: 
src/main/java/org/apache/sling/feature/cpconverter/handlers/RepPrincipalPolicyEntryHandler.java
##########
@@ -78,7 +79,7 @@ public void startElement(String uri, String localName, String 
qName, Attributes
                         throw new IllegalStateException("isolated 
principal-based access control entry. no principal found.");
                     }
                     List<String> privileges = 
extractValues(attributes.getValue(REP_PRIVILEGES));
-                    RepoPath effectivePath = new 
RepoPath(attributes.getValue(REP_EFFECTIVE_PATH));
+                    RepoPath effectivePath = new 
RepoPath(extractEffectivePath(attributes.getValue(REP_EFFECTIVE_PATH)));

Review comment:
       Sorry, that is just for the converting the other way around, to parse 
enhanced docview  please use `org.apache.jackrabbit.vault.util.parse(...)`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to