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

Incorrect multi-valued property substitution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.10
    • None
    • Interpolation
    • None

    Description

      According to AbstractConfiguration#resolveContainerStore code and documentation it uses only first value if array/collection property value.

      Such behavior is broken in a trivial situation:
      a=1,2,3
      b=${a} ⇒ b=1

      The solution will be to stop using logic in resolveContainerStore(key) and just use getProperty(key).

      Attachments

        Activity

          People

            Unassigned Unassigned
            alexlopashev Alex Lopashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: