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

[configuration] AbstractFileConfiguration.save() creates a new file instead of overwritting the existing one

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2
    • None
    • None
    • Operating System: All
      Platform: All

    • 34362

    Description

      The manner in wich a file is found and read... versus how it is check for
      existance and overriden are different. Thus a file that is found and
      successfully read, will not always be updated correctly when using setProperty
      (key,value); Instead a new file will be generated containing the new
      configuration information.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--AbstractFileConfiguration.diff
          3 kB
          Oliver Heger
        2. ASF.LICENSE.NOT.GRANTED--AbstractFileConfiguration.java
          19 kB
          Jamie M. Guillemette
        3. ASF.LICENSE.NOT.GRANTED--abstractFileConfiguration.patch
          20 kB
          Jamie M. Guillemette
        4. ASF.LICENSE.NOT.GRANTED--fix.txt
          0.5 kB
          Jamie M. Guillemette
        5. ASF.LICENSE.NOT.GRANTED--TestFileConfiguration.diff
          3 kB
          Oliver Heger
        6. ASF.LICENSE.NOT.GRANTED--unitTest.patch
          2 kB
          Jamie M. Guillemette

        Activity

          People

            Unassigned Unassigned
            jmguillemette@gmail.com Jamie M. Guillemette
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: