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

Improving backward compatibility in ConfigurationInterpolator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.5
    • None
    • 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.java
          12 kB
          Tobias Liefke
        2. ConfigurationInterpolator.diff
          1 kB
          Tobias Liefke

        Issue Links

          Activity

            People

              oheger Oliver Heger
              noebel Tobias Liefke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: