Details
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
- relates to
-
SONAR-3305
When there isn't any description or title available on a rule, a NullPointerException is thrown
-
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.