Closed
Bug 1083790
Opened 10 years ago
Closed 10 years ago
Default version does not take into account is_active
Categories
(bugzilla.mozilla.org :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: dkl)
Details
According to:
# IF this is a cloned bug,
# AND the clone's product is the same as the parent's
# THEN use the version from the parent bug
# ELSE IF a version is supplied in the URL
# THEN use it
# ELSE IF there is a version in the cookie
# THEN use it (Posting a bug sets a cookie for the current version.)
# ELSE
# The default version is the last one in the list (which, it is
# hoped, will be the most recent one).
...if no VERSION cookie exists for a product, the fallback is supposed to pick the last version in the list.
Unfortunately this doesn't work (eg https://bugzilla.mozilla.org/enter_bug.cgi?component=Treeherder&product=Tree%20Management) because the version is picked from the full list of versions, and not the filtered list (filtered by is_active) that is used to populate the versions option <select> on enter_bug.cgi.
ie: we should be filtering by is_active here:
https://github.com/bugzilla/bugzilla/blob/e181022c27b291b845f029f0e8f25748cad8495f/enter_bug.cgi#L308
Assignee | ||
Comment 1•10 years ago
|
||
This is already fixed upstream (trunk only) in bug 940010. So we will backport this to BMO.
Assignee: emorley → dkl
Component: Creating/Changing Bugs → General
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: unspecified → Production
Reporter | ||
Comment 2•10 years ago
|
||
Ah great, thank you :-)
Assignee | ||
Comment 3•10 years ago
|
||
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
02a2238..d70f291 master -> master
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.
Description
•