User List macro can't list members if the group name ends with a blank space

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Issue Summary

      The User List macro does not find the group/memberships if the target group name ends with a blank space.

      The blank space is filtered for all responses, so the macro never renders the expected list of users, even if we force the blank space in the request.

      This only affects External Groups since groups created within the product are automatically trimmed for any extra space in the end.

       

      Steps to Reproduce

      1. Provide an external group to Confluence containing a blank space as last character (i.e. "group-name ")
      2. Ensure the group has at least one active user as member
      3. Create a page, insert a User List macro and set "group-name " (without quotes) as the group name to be searched.

      Expected Results

      List of user members displayed for the group.

      Actual Results

      Message "No results were found for groups : <group-name>"
      (Note the blank space is not displayed)

      Workaround

      The only workaround at the moment is changing the name of external groups to remove any blank spaces at the end of the string.

              Assignee:
              Unassigned
              Reporter:
              Rodrigo Bozza (Atlassian)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: