[ 
https://issues.apache.org/jira/browse/SLING-8555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877626#comment-16877626
 ] 

Simone Tripodi commented on SLING-8555:
---------------------------------------

[~dsuess] fixed in 
[de4d29a|https://github.com/apache/sling-org-apache-sling-feature-cpconverter/commit/de4d29a16b5dd9bab3e25084356eeb26b3105d05]

> Converter generates broken repoinit statements when package contains type 
> indicators for restriction
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-8555
>                 URL: https://issues.apache.org/jira/browse/SLING-8555
>             Project: Sling
>          Issue Type: Bug
>          Components: Content-Package to Feature Model Converter
>            Reporter: Karl Pauls
>            Assignee: Simone Tripodi
>            Priority: Major
>             Fix For: Feature Model Converter 1.0.6
>
>
> The converter is generating a broken repoinit statement when a package 
> contains type indicators for restrictions on an acl e.g.:
> {noformat}
> allow jcr:read on /home/users/system/foo 
> restriction(rep:ntNames,{Name}[rep:AuthorizableFolder])
> {noformat}
> it should look something like:
> {noformat}
> allow jcr:read on /home/users/system/foo 
> restriction(rep:ntNames,rep:AuthorizableFolder)
> {noformat}
> It looks like the conversion is taking the XML from vault directly. That 
> needs to be translated to the right format first i.e., {noformat} 
> {TYPE}[<value>] -> <value> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to