Closed Bug 959732 Opened 10 years ago Closed 10 years ago

Guided bug entry form lists components disabled for new bug reports

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

4.4.1
defect
Not set
trivial

Tracking

()

RESOLVED FIXED
Bugzilla 4.4

People

(Reporter: a9016009, Assigned: bugzilla)

References

Details

Attachments

(1 file, 1 obsolete file)

The guided bug entry form in http://bzr.mozilla.org/bugzilla/4.4/view/head:/template/en/default/bug/create/create-guided.html.tmpl#L168 does not exclude components disabled for bug reporting, like the "normal" bug entry form in http://bzr.mozilla.org/bugzilla/4.4/view/head:/template/en/default/bug/create/create.html.tmpl#L198 does.
Trivial patch to copy over the check for a disabled component from the normal create bug template to the example guided format version.

(Note of course that an attempt to actually create a bug using a disabled component will get rejected, but obviously better to remove the option up-front anyway.)
Assignee: create-and-change → bugzilla
Attachment #8360771 - Flags: review?(dkl)
Attachment #8360771 - Attachment description: 959732.patch → Exclude disabled components from guided bug entry form
Comment on attachment 8360771 [details] [diff] [review]
Exclude disabled components from guided bug entry form

r=LpSolit
Attachment #8360771 - Flags: review?(dkl) → review+
Status: NEW → ASSIGNED
Flags: approval?
Flags: approval4.4?
Target Milestone: --- → Bugzilla 4.4
Flags: approval?
Flags: approval4.4?
Flags: approval4.4+
Flags: approval+
Actually, you also have to fix the JS list to exclude the description of inactive components. I fixed that on checkin, and here is the patch for 4.4.
Attachment #8360771 - Attachment is obsolete: true
Attachment #8365532 - Flags: review+
Comment on attachment 8360771 [details] [diff] [review]
Exclude disabled components from guided bug entry form

r- per my previous comment.
Attachment #8360771 - Flags: review+ → review-
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified template/en/default/bug/create/create-guided.html.tmpl
Committed revision 8886.

Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.4/
modified template/en/default/bug/create/create-guided.html.tmpl
Committed revision 8650.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: