You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "javix (JIRA)" <ji...@apache.org> on 2016/12/02 10:32:58 UTC

[jira] [Created] (CONFIGURATION-645) INIConfiguration: comment lines are removed after saving changes

javix created CONFIGURATION-645:
-----------------------------------

             Summary: INIConfiguration: comment lines are removed after saving changes
                 Key: CONFIGURATION-645
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-645
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: 2.1
            Reporter: javix


I have a very large ini file with multiple sections. I added some comment lines to my sections.
Before closing my app some values will be changed. But afterwards the changed file does not contains my comments.

Here is a example:
{noformat}
[SECTION]
;comment for this section
lastTimeStamp=(here some date)
{noformat}

After saving the file contains following content:
{noformat}
[SECTION]
lastTimeStamp=(here some date)
{noformat}

I think it is a bug, because the comments are allowed and very useful content of a ini file and should not be removed.

(sorry for my not perfect english)




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