Closed Bug 1728334 Opened 4 years ago Closed 4 years ago

Changes to severity can lead to problems

Categories

(bugzilla.mozilla.org :: Bug Creation/Editing, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1727027

People

(Reporter: marco, Unassigned)

References

Details

I was modifying severity/priority of https://bugzilla.mozilla.org/show_bug.cgi?id=1721986 and at the same time writing a comment. After submitting, Bugzilla failed with "bug is not a valid parameter for the Bugzilla::Comment::create function".

I managed to work around the error by changing the priority/severity first, then posting the comment, but the change was inconsistent: the priority was P1 before my change, and my change was supposedly setting it to P2, instead the update changed the priority from P2 (even if it was P1!) to "--".
Here's the inconsistent update: https://bugzilla.mozilla.org/show_bug.cgi?id=1721986#a260482_420453. The same inconsistency can also be seen in the history: https://bugzilla.mozilla.org/rest/bug/1721986/history.

There are a few problems, IDK if they all share the same root cause:

  • the error when changing severity/priority and commenting at the same time;
  • the priority was P1, because of bug 1690205 the change of severity should cause the priority to go from P1 to "--" rather than from P2 to "--";
  • the rule from bug 1690205 should not apply when changing both severity and priority, as the user likely knows what they are doing in that case.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.