Closed Bug 179206 Opened 22 years ago Closed 22 years ago

enter_bug isn't picking up version from URL

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

2.17
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: gerv, Assigned: bugzilla)

References

()

Details

Attachments

(1 file)

The URL above, for me, still fills in the version as "unspecified".

Gerv
It selected 2.17 for me...
How strange. It's working now, including on my bookmarked query.

<shrug>

Gerv
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
The cookie value gets precidence, which is why it started working the second
time, since hte cookie was then set.

REOPEN to decide if this is desired behaviour (I'd say no, personally)
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
I'm not sure it's a cookie thing; I don't have any sort of VERSION cookie on
this copy of Mozilla, and it's still working fine when I click the above URL.

Gerv
Right, it goes:

1) look for cookie
2) look for url param

IOW, theres no way to override the cookie with a url param, which would be
useful with (for example) a link to enter bug from about:mozilla, or something.

ITs minor, but I still think its a bug.
I still don't get this. What exactly is going on?

Gerv
The last version a user chose is stored in a cookie.  You can also pass a
version in on the query string in the URL to default the form to.  If you do the
latter, the cookie should be ignored.  It's not.  If you have a cookie, version
gets set to your cookie, regardless of anything passed in on the query string.
This patch simply swaps around the order of the cookie version check and the
url version check.
Comment on attachment 106692 [details] [diff] [review]
simple patch to swap the order of check for the version

Yep, thats it

r=bbaetz
Attachment #106692 - Flags: review+
a=justdave

Brad, care to check it in?  I don't think Gavin has checkin privs.
Assignee: myk → bugzilla
Status: REOPENED → NEW
Target Milestone: --- → Bugzilla 2.18
FIXED
Status: NEW → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: