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

Improving backward compatibility in ConfigurationInterpolator

    XMLWordPrintableJSON

    Details

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

      Description

      When using variables with prefixes in previous versions of commons configuration one could use the default lookup to assign the variable values, as prefixes were not recognized and handled differently. Since 1.4 that behaviour is broken as the default lookup is not taken into account for variables containing prefixes. Applications which make use of such variables would have to be changed.

      My request is to use the default lookup as fallback if a variable with prefix is not found in the local lookups.

        Attachments

        1. ConfigurationInterpolator.diff
          1 kB
          Tobias Noebel
        2. ConfigurationInterpolator.java
          12 kB
          Tobias Noebel

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: