Task Report macro will show duplicated tasks if there are duplicated users across user directory

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 7.17.0
    • Affects Version/s: 5.8.15, 6.2.4, 6.3.1, 6.4.2, 6.7.2, 6.13.7
    • Component/s: Macros - Task Report
    • None
    • 11
    • Severity 3 - Minor
    • 0

      Summary

      Task Report macro will show duplicated tasks if:

      1. There are duplicated users across multiple user directories
      2. The report is sorted by Assignee

      Steps to Reproduce

      1. Have a user with the username "admin" in Confluence Internal Directory
      2. Create a page, add task list and add "admin" to the task
      3. Add a "Task Report" on the same page. Save the page. It should look like this:
      4. Connect to an LDAP that contains a user with the username "admin" as well.
      5. Go to the page with the Task Report, sort the list based on Assignee

      Expected Results

      There is only 1 task appear on the report

      Actual Results

      Duplicated task appears for that user

      Notes

      If we add another user directory that contains a user with the same username, "admin", the report will now show 3 tasks.

      Workarounds

      Some users have reported that by changing the sort order to something else for the macro (such as 'Due date' instead of 'Assignee') will remove the duplicated tasks in the list.

        1. screenshot-1.png
          screenshot-1.png
          19 kB
        2. screenshot-2.png
          screenshot-2.png
          23 kB

            Assignee:
            yhrabovskyi (Inactive)
            Reporter:
            Monique Khairuliana (Inactive)
            Votes:
            12 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: