When entering a new bug, if there's only one active version or component, automatically select it

RESOLVED FIXED in Bugzilla 5.0

Status

()

Bugzilla
Creating/Changing Bugs
--
enhancement
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: Simon Green, Assigned: Simon Green)

Tracking

Bugzilla 5.0
Bug Flags:
approval +

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 8334081 [details] [diff] [review]
onething-v1.patch

(from a brc user)

I just entered bug 1016162 against the Bugzilla component. When I hit 'submit bug', it warned me that I needed to select a Version before continuing. But the version list only has one entry, so I think bugzilla can deduce what version I'm going to select anyways :) Please make it select that single entry automatically.
Attachment #8334081 - Flags: review?(dkl)
(Assignee)

Comment 1

5 years ago
This is a modification on the old code to check if there is an _active_ component. It also does the same for version.
OS: Linux → All
Hardware: x86_64 → All

Updated

5 years ago
Severity: normal → enhancement

Comment 2

4 years ago
Comment on attachment 8334081 [details] [diff] [review]
onething-v1.patch

r=LpSolit
Attachment #8334081 - Flags: review?(dkl) → review+

Updated

4 years ago
Flags: approval?
(Assignee)

Comment 3

4 years ago
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/                       
modified enter_bug.cgi
Committed revision 8844.
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Flags: approval? → approval+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.