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



##########
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:
       @kwin , fine with me.... (as long as nobody passes an empty MV property 
array that should work)




-- 
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