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

[configuration] Interpolation method returns multi-valued properties

    Details

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

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      36447

      Description

      If the property referred to from a variable contains multiple values, the
      interpolation method returns all of these values. This leads to a string
      representation of the list with the properties, which in most cases won't be
      desired.

      Because the interpolation method is called only by getString() and for
      interpolating single elements of a String[] only a single value should be
      returned, i.e. in case of a multi-valued property the first value (which is
      consistent with the behavior of other scalar getter methods).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              oliver.heger@t-online.de Oliver Heger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: