You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2014/11/26 22:25:12 UTC

[jira] [Resolved] (CONFIGURATION-564) PropertiesReader.doParseProperty() version 1.8+ not backward compatible

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

Oliver Heger resolved CONFIGURATION-564.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0

This could be fixed by slightly tweaking the regular expression for parsing properties.

Fixed in Subversion in revision 1641944.

> PropertiesReader.doParseProperty() version 1.8+ not backward compatible
> -----------------------------------------------------------------------
>
>                 Key: CONFIGURATION-564
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-564
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Format
>    Affects Versions: 1.8, 1.9, 1.10
>            Reporter: pascal gehl
>             Fix For: 2.0
>
>
> We have a legacy application using a library with properties configuration files where some properties are only keys; Example:
> property.key
> instead of 
> property.key=value or property.key=
> Until version 1.7 those properties where present with no value in our CompositeConfiguration instance.
> Starting with version 1.8 (introducing a private not overridable regex pattern) those properties are now left out of our application configuration.
> Since we don't own the lib we can't move to latest version of commons-configuration and are stuck with version 1.7



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