Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-28

[configuration] Interpolation method returns multi-valued properties

    Details

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

      Operating System: other
      Platform: Other

      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).

        Activity

        Oliver Heger created issue -
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 36447 12342523
        Henri Yandell made changes -
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Component/s Configuration [ 12311107 ]
        Key COM-2371 CONFIGURATION-28
        Project Commons [ 12310458 ] Commons Configuration [ 12310467 ]
        Affects Version/s Nightly Builds [ 12311648 ]
        Henri Yandell made changes -
        Affects Version/s Nightly Builds [ 12311710 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Oliver Heger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development