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-622) Writing INI file, keys with . become ..
Date Sat, 16 Apr 2016 15:03:25 GMT

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

Oliver Heger resolved CONFIGURATION-622.
----------------------------------------
    Resolution: Fixed

The problem was in INIConfiguration.write(). Here keys that might have been escaped were written
to disk. The write() method has been rewritten to operate on configuration nodes directly.
These nodes have the correct names.

Fixed in SVN in revision 1739472.

> Writing INI file, keys with . become ..
> ---------------------------------------
>
>                 Key: CONFIGURATION-622
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-622
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Format
>    Affects Versions: 2.0
>            Reporter: Simon Bin
>
> Here is sample input config:
> [learningtask]
> trains.lp = 5
> after new INIConfiguration(conf).write() it becomes:
> [learningtask]
> trains..lp = 5
> seems related to the escaping of keys in the ExpressionEngine



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

Mime
View raw message