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

SonarQube should ignore creation of a repository and its rules if the language is not installed

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.5
    • Component/s: Rules
    • Labels:
      None

      Description

      Use case:

      • Install the C# and Resharper plugins on SQ
      • Go to the Rules page: you will see:
        • an empty language (in the facets)
        • ReSharper rules from a "resharper-vbnet" repository

      This is because the ReSharper plugin supports both C# and VB.NET language, so it provides repositories and rules for both of them. But SQ does not check the availability of a language when creating repositories and associated rules - whereas it should.

      Expected behaviour when fixed:

      • No empty language should be on the Rules page
      • The "resharper-vbnet" repo and all its rules should not be available in the UI

        Attachments

          Activity

            People

            Assignee:
            julien.lancelot Julien Lancelot
            Reporter:
            fabemn OLD - Fabrice Bellingard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: