Closed Bug 1957414 Opened 10 months ago Closed 10 months ago

Make it clear why the component field is empty when editing bugs in bulk that spam multiple products

Categories

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

Production
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: bas.schouten, Unassigned)

Details

Attachments

(1 file)

While trying to change the component for a larger number of issues, I used this query to locate them:

https://bugzilla.mozilla.org/buglist.cgi?f1=OP&f10=keywords&f11=cf_performance_impact&f12=CP&f13=OP&f14=cf_performance_impact&f15=flagtypes.name&f16=CP&f2=cf_performance_impact&f3=component&f4=component&f5=component&f6=CP&f7=OP&f8=product&f9=component&j_top=OR&known_name=Performance%20Triage&list_id=17493667&o10=notsubstring&o11=isempty&o14=equals&o15=notsubstring&o2=equals&o3=notequals&o4=notequals&o5=notequals&o8=equals&o9=equals&query_format=advanced&resolution=---&v10=meta&v14=pending-needinfo&v15=needinfo&v2=%3F&v3=Performance%3A%20Memory&v4=Performance%3A%20Responsiveness&v5=Performance%3A%20Startup&v8=Core&v9=Performance%3A%20General&order=priority%2Cbug_severity&tweak=1

However at the bottom of the page the component field does not seem to have any content when using this query.

There is also a JS error on the page which maybe related:

Uncaught TypeError: document.getElementById(...) is null
    showDuplicateItem https://bugzilla.mozilla.org/static/v20250325.1/js/field.js:331
    showHideStatusItems https://bugzilla.mozilla.org/static/v20250325.1/js/field.js:282
    <anonymous> https://bugzilla.mozilla.org/buglist.cgi?f1=OP&f10=keywords&f11=cf_performance_impact&f12=CP&f13=OP&f14=cf_performance_impact&f15=flagtypes.name&f16=CP&f2=cf_performance_impact&f3=component&f4=component&f5=component&f6=CP&f7=OP&f8=product&f9=component&j_top=OR&known_name=Performance Triage&list_id=17493667&o10=notsubstring&o11=isempty&o14=equals&o15=notsubstring&o2=equals&o3=notequals&o4=notequals&o5=notequals&o8=equals&o9=equals&query_format=advanced&resolution=---&v10=meta&v14=pending-needinfo&v15=needinfo&v2=?&v3=Performance: Memory&v4=Performance: Responsiveness&v5=Performance: Startup&v8=Core&v9=Performance: General&order=priority,bug_severity&tweak=1:7295
field.js:331:22
    showDuplicateItem https://bugzilla.mozilla.org/static/v20250325.1/js/field.js:331
    showHideStatusItems https://bugzilla.mozilla.org/static/v20250325.1/js/field.js:282
    <anonymous> https://bugzilla.mozilla.org/buglist.cgi?f1=OP&f10=keywords&f11=cf_performance_impact&f12=CP&f13=OP&f14=cf_performance_impact&f15=flagtypes.name&f16=CP&f2=cf_performance_impact&f3=component&f4=component&f5=component&f6=CP&f7=OP&f8=product&f9=component&j_top=OR&known_name=Performance Triage&list_id=17493667&o10=notsubstring&o11=isempty&o14=equals&o15=notsubstring&o2=equals&o3=notequals&o4=notequals&o5=notequals&o8=equals&o9=equals&query_format=advanced&resolution=---&v10=meta&v14=pending-needinfo&v15=needinfo&v2=?&v3=Performance: Memory&v4=Performance: Responsiveness&v5=Performance: Startup&v8=Core&v9=Performance: General&order=priority,bug_severity&tweak=1:7295

That javascript error is unrelated.

As components are per-product, the list of components is only populated if all bugs are in the same product.

The UI should make it clear why the component cannot be changed when bugs span multiple products - eg. replace the <select> with something like "Cannot change as bugs span multiple products".

Type: defect → enhancement
Summary: Component field is not populated when trying to edit multiple bugs → Make it clear why the component field is empty when editing bugs in bulk that spam multiple products

Authored by https://github.com/dklawren
https://github.com/mozilla-bteam/bmo/commit/7c10366b63c853e7949682a2f4da25c229e2684c
[master] Bug 1957414 - Make it clear why the component field is empty when editing bugs in bulk that spam multiple products

Status: NEW → 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: