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
-
Activity
Fabrice Bellingard
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Link |
This issue relates to |
Fabrice Bellingard
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Fabrice Bellingard
made changes -
| Original Estimate | 0 minutes [ 0 ] | |
| Remaining Estimate | 0 minutes [ 0 ] | |
| Assignee | Fabrice Bellingard [ fabemn ] | Freddy Mallet [ freddy.mallet ] |
Fabrice Bellingard
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Freddy Mallet
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Assignee | Freddy Mallet [ freddy.mallet ] | Fabrice Bellingard [ fabemn ] |
Fabrice Bellingard
made changes -
| Assignee | Fabrice Bellingard [ fabemn ] | Freddy Mallet [ freddy.mallet ] |
Fabrice Bellingard
made changes -
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Freddy Mallet
made changes -
| Assignee | Freddy Mallet [ freddy.mallet ] | Fabrice Bellingard [ fabemn ] |
Fabrice Bellingard
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
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.