felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-4945) Escaped folder names makes ConfigAdmin incompatible and factory configs not always work
Date Thu, 30 Jul 2015 13:25:04 GMT

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

Carsten Ziegeler updated FELIX-4945:
------------------------------------
    Fix Version/s: configadmin-1.8.8

> Escaped folder names makes ConfigAdmin incompatible and factory configs not always work
> ---------------------------------------------------------------------------------------
>
>                 Key: FELIX-4945
>                 URL: https://issues.apache.org/jira/browse/FELIX-4945
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>    Affects Versions: configadmin-1.8.6
>            Reporter: Balazs Zsoldos
>             Fix For: configadmin-1.8.8
>
>
> The fix of FELIX-4302 raises other issues:
>  - Old configurations that start with reserved names, are not read and components are
not instantiated
>  - The same configurations are not working on windows and other operating systems anymore.
Till now, we could copy the configuration folder between computers with different operating
system and it worked pretty well
>  - Strangely, factory.config files from old configurations were found, but the actual
configuration files were not
> This issues come from the fix of FELIX-4302.
> I would suggest that instead of
>  - having a Set winDevNames in FilePersist and
>  - callng winDevNames.equals(dir.substring(0, 3))
> create a separate function like isReservedName and handle the different names separately.
E.g.: directory names starting with "com" should be escaped only if there is a number afterwards
and nothing else.
> Handle reserved names in the same way on every operating system!!! Now the  configuration
that works on windows, will not work on linux (if we simply copy the configuration folders
to another system).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message