status reset to '---' for 'status-firefox138' on bug creation page if 'Status' field changed
Categories
(bugzilla.mozilla.org :: Bug Creation/Editing, defect, P3)
Tracking
()
People
(Reporter: aryx, Assigned: kohei)
Details
(Keywords: bmo-triaged)
Attachments
(1 file)
On the bug creation page, the value of the 'status-firefox138' field is reset to '---' if the 'Status' field is changed.
Comment 1•1 year ago
|
||
This occurs due to code change that happened when we redeveloped the enter bug page to be more like the show bug page and share a lot of the same code.
The offending lines are: https://github.com/mozilla-bteam/bmo/blob/master/extensions/TrackingFlags/template/en/default/bug/script.html.tmpl#L49-L77
I need to check first if the tracking flag has been changed before resetting back to '---' if you change the status after.
The workaround for now is to choose the status first, then select the status tracking flag.
Will take a look
Updated•1 year ago
|
Updated•11 months ago
|
| Assignee | ||
Comment 2•11 months ago
|
||
Regressed from my previous work — I’ll volunteer to take care of it.
Comment 3•11 months ago
|
||
(In reply to Kohei Yoshino [:kohei] from comment #2)
Regressed from my previous work — I’ll volunteer to take care of it.
Thanks Kohei!
| Assignee | ||
Comment 4•10 months ago
|
||
Looking at this now. It’s not a regression as I can also see the behaviour on the legacy Enter Bug page. I just moved the relevant code to a new location.
These are the bugs and commits that implemented the code:
I think we can just remove the else clause.
Comment 5•10 months ago
|
||
Comment 6•10 months ago
|
||
Authored by https://github.com/kyoshino
https://github.com/mozilla-bteam/bmo/commit/3f990fc4c3c64080cf9882198c4c4163e402f927
[master] Bug 1956751 - status reset to '---' for 'status-firefox138' on bug creation page if 'Status' field changed
Description
•