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

PropertiesConfiguration.clone() does not properly handle the layout object

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      None

      Description

      If a PropertiesConfiguration object is cloned, the clone will have the same PropertiesConfigurationLayout object. Of course this will cause trouble when later both objects are modified and then written to a file.

      PropertiesConfiguration needs a specific clone() implementation, which also clones the layout object.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: