commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CONFIGURATION-564) PropertiesReader.doParseProperty() version 1.8+ not backward compatible
Date Wed, 26 Nov 2014 21:25:12 GMT

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

Mime
View raw message