You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2023/05/08 12:22:00 UTC

[jira] [Closed] (SLING-11855) Conversion of old factory config names to new one is not checking for tilde

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

Robert Munteanu closed SLING-11855.
-----------------------------------

> Conversion of old factory config names to new one is not checking for tilde
> ---------------------------------------------------------------------------
>
>                 Key: SLING-11855
>                 URL: https://issues.apache.org/jira/browse/SLING-11855
>             Project: Sling
>          Issue Type: Bug
>          Components: Content-Package to Feature Model Converter
>    Affects Versions: Content-Package to Feature Model Converter 1.3.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Content-Package to Feature Model Converter 1.3.2
>
>
> The code in 
> AbstractConfigurationEntryHandler#extractId converts an old factory configuration name into a new one (with a tilde). Unfortunately it only checks for a dash but not a tilde, which means in the case of
> factory~a-b this is converted to factory~a~b instead of keeping it as factory~a-b
>  
> A similar bug might lurk in other places dealing with factory configurations



--
This message was sent by Atlassian Jira
(v8.20.10#820010)