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

Badges should only be available on projects, long living branches and applications

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2
    • Component/s: UX/UI, Web API
    • Labels:
    • Edition:
      Community

      Description

      When we try to display a badge on a directory, an error 500 is generated on server side and the ws fails with :

      {"errors":[{"msg":"An error has occurred. Please contact your administrator"}]}
      

      Badges should only be available on :

      • Projects
      • Long Living Branches
      • Applications

      and the web service should return 400 Bad Request when parameter is not a supported component.

        Attachments

          Activity

            People

            Assignee:
            julien.lancelot Julien Lancelot
            Reporter:
            julien.lancelot Julien Lancelot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: