SonarQube
  1. SonarQube
  2. SONAR-3359

Remove the possibility to create a rule without a description in the Web UI

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.14
    • Fix Version/s: 3.0
    • Component/s: Rules, Web
    • Labels:
      None
    • Number of attachments :
      0

      Description

      With SONAR-3305, Sonar startup now fails if a rule has no name or no description. But it is currently possible to create a rule without a description in the Sonar Web UI, for instance when copying an architecture rule. This should not be possible from now on.

        Issue Links

          Activity

          Hide
          Fabrice Bellingard added a comment -

          Now, when creating manual rules "on the fly" (during reviewing for instance), a default description will be inserted to encourage administrators to give a meaningful description to the newly created rule. This message will also be automatically added to previously created manual rules that have a null description, thanks to a migration script.

          Show
          Fabrice Bellingard added a comment - Now, when creating manual rules "on the fly" (during reviewing for instance), a default description will be inserted to encourage administrators to give a meaningful description to the newly created rule. This message will also be automatically added to previously created manual rules that have a null description, thanks to a migration script.
          Hide
          Freddy Mallet added a comment -

          Manually tested

          Show
          Freddy Mallet added a comment - Manually tested
          Hide
          Fabrice Bellingard added a comment -

          IT added.

          Show
          Fabrice Bellingard added a comment - IT added.

            People

            • Assignee:
              Fabrice Bellingard
              Reporter:
              Fabrice Bellingard
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: