Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1592

PropertiesFileLoader persists entries after deletion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2.0.Final, 3.0.0.Alpha4
    • 2.1.0.Final, 2.2.0.CR1, 2.2.0.CR2, 3.0.0.Alpha1
    • Management
    • None

      There is a bug in PropertiesFileLoader#persistProperties, specifically here. Because of the write call in the else block, properties are persisted to the file even after they have been deleted in memory.

      Here is a fixed implementation of persistProperties that we are using as a workaround.

            kwills@redhat.com Ken Wills
            mbarkley_jira Max Barkley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: