You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2019/07/02 15:11:01 UTC

[jira] [Resolved] (SLING-8555) Converter generates broken repoinit statements when package contains type indicators for restriction

     [ https://issues.apache.org/jira/browse/SLING-8555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Tripodi resolved SLING-8555.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: Feature Model Converter 1.0.6

Fixed in [b6af63e|https://github.com/apache/sling-org-apache-sling-feature-cpconverter/commit/b6af63e57937c77c380fdf94ca8c9ba00f2c607a]

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