Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-269

PropertiesConfiguration.save() generates superfluous escaping character when delimiter parsing is disabled

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      None

      Description

      PropertiesConfiguration.save() ignores the delimiter parsing disabled flag and escapes all delimiter characters it encounters. When the configuration is loaded again (with delimiter parsing disabled) the values of affected properties contain the escaping character.

      This bug is very similar to CONFIGURATION-268, but for PropertiesConfiguration.

        Attachments

        1. Config-269_test.diff
          3 kB
          Oliver Heger
        2. properties.patch
          3 kB
          Emmanuel Bourg

          Activity

            People

            • Assignee:
              ebourg Emmanuel Bourg
              Reporter:
              oheger Oliver Heger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: