Closed Bug 1956751 Opened 1 year ago Closed 10 months ago

status reset to '---' for 'status-firefox138' on bug creation page if 'Status' field changed

Categories

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

Production

Tracking

()

RESOLVED FIXED

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.

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

Assignee: nobody → dkl
Status: NEW → ASSIGNED
Assignee: dkl → nobody
Severity: -- → S3
Status: ASSIGNED → NEW
Keywords: bmo-triaged
Priority: -- → P3
Keywords: regression
Regressed by: 1549621

Regressed from my previous work — I’ll volunteer to take care of it.

Assignee: nobody → kohei
Status: NEW → ASSIGNED

(In reply to Kohei Yoshino [:kohei] from comment #2)

Regressed from my previous work — I’ll volunteer to take care of it.

Thanks Kohei!

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.

Keywords: regression
No longer regressed by: 1549621

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

Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: