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

A local StrLookup of the parent should be used by a SubsetConfiguration

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.7
    • Component/s: Interpolation
    • Labels:
      None

      Description

      While it is quite easy to register a global StrLookup, it is not so easy
      to work with the local ones. Especially since those are no longer available
      for a SubsetConfiguration:

      moduleA.value=${my:foo}

      assertEquals("bar", config.getString("moduleA.value"));
      assertEquals("bar", config.subset("moduleA").getString("value"));

      The second assert fails.

        Attachments

          Activity

            People

            • Assignee:
              joehni Joerg Schaible
              Reporter:
              joehni Joerg Schaible
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: