Closed Bug 1062944 Opened 5 years ago Closed 5 years ago

Product::Component autocomplete when filing new bug shows disabled components.

Categories

(bugzilla.mozilla.org :: Extensions, defect, P2)

Production
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: rrosario, Assigned: dylan)

Details

Attachments

(1 file)

STR:

1- Go to https://bugzilla.mozilla.org/enter_bug.cgi
2- Type "support.mozilla.org" into the Find product text box.
3- Notice that "support.mozilla.org::Knowledge Base Articles" appears.
4- Select it to go to the bug details page. No component is selected because that component isn't active anymore.

It shouldn't appear in the initial list.
Assignee: ui → nobody
Component: User Interface → General
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: unspecified → Production
Assignee: nobody → dylan
Priority: -- → P2
Component: General → Extensions: ProdCompSearch
The final select statement, where the product/component list is built, did not check components.isactive.
Attachment #8485710 - Flags: review?(glob)
Comment on attachment 8485710 [details] [diff] [review]
bug-1062944-v1.patch

Review of attachment 8485710 [details] [diff] [review]:
-----------------------------------------------------------------

r=glob

note - this means that 'browse' will no longer return deactivated components.  i'm ok with that.
Attachment #8485710 - Flags: review?(glob) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   b11a51b..bb4c6f7  master -> master
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Component: Extensions: ProdCompSearch → Extensions
You need to log in before you can comment on or make changes to this bug.