Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-8682

WS api/permissions/template_groups fails when searching by templateId and group name exists in more than one organizations

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3
    • Component/s: Web API
    • Labels:

      Description

      Calls to this WS with URL such as /api/permissions/template_groups?templateId=AVmycy5-jV99lUpWQZ1i&ps=100&q=own may fail with the following error:

      {"errors":[{"msg":"Multiple entries with same key: Owners=1 and Owners=0"}]}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebastien.lesaint Sebastien Lesaint
                Reporter:
                sebastien.lesaint Sebastien Lesaint
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: