Uploaded image for project: 'Identity Gateway'
  1. Identity Gateway
  2. OPENIG-4640

Provide a join function that can process an Iterable<String> as well as String[]

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.0, 5.5.0, 5.5.1, 5.5.2, 6.0.0, 6.1.0, 6.5.0, 6.5.1, 6.5.2
    • Fix Version/s: 7.0.0, 7.0.0-micsvc-1.0.3
    • Component/s: Core
    • Environment:
      Working with ArrayList<String> results returned from UserProfileFilter, for example, user group memberships.
    • Story Points:
      1

      Description

      The current join function cannot work with List<String> values as it only accepts String[] array values. Can't use the .toArray() method on a List in an expression as it returns an Object[] array.

       

      Look to provide an additional join function that can take both a String[] or Iterable<String> and return a new String with the values separated by the provided separator.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markdr Mark de Reeper
                Reporter:
                markdr Mark de Reeper
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: