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

Improve message when trying to activate a rule not part of built-in QP and no other QP exists

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6-M3, 6.6
    • Component/s: Web
    • Labels:

      Description

      Currently the following message is displayed when there is only built-in QP available and the user tries to activate a rule not part of any QP :

      The rule is already activated on all available quality profiles.

      First the message is wrong and second the user has no way of knowing that he should create a new QP before being able to activate the rule.

      So we have multiple options there :
      1. Update the message in this particular case if we have a way of differentiating both cases
      2. Let the user select built-in profiles and show an error message
      3. Disable the "activate" button with a tooltip to explain the situation if there is only built-in QP for this language

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gregoire.aubert Gregoire Aubert
              Reporter:
              gregoire.aubert Gregoire Aubert
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: