Closed
Bug 250881
Opened 21 years ago
Closed 21 years ago
After creating a series DEFAULT query format is to create a series
Categories
(Bugzilla :: Reporting/Charting, defect, P1)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: bugreport, Assigned: glob)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
752 bytes,
patch
|
justdave
:
review+
|
Details | Diff | Splinter Review |
After the preferred format cookie went in, the search page uses the format of
the last search page used... even if it was for a series.
Reporter | ||
Updated•21 years ago
|
Priority: -- → P1
Target Milestone: --- → Bugzilla 2.18
Reporter | ||
Comment 1•21 years ago
|
||
This is a regression from bug 245077.
Critical because search is rendered unusable unless you manually clear the cookie.
Reporter | ||
Updated•21 years ago
|
Flags: blocking2.18?
Comment 2•21 years ago
|
||
I'd even call it a blocker.
I specifically rejected the first patch for the query page for exactly this
reason...
Severity: critical → blocker
Flags: blocking2.18? → blocking2.18+
Updated•21 years ago
|
Assignee: gerv → bugzilla
Attachment #152896 -
Flags: review?(justdave)
Comment 4•21 years ago
|
||
Comment on attachment 152896 [details] [diff] [review]
use whitelist instead of blacklist for format cookie
>+# Set cookie to current format as default, but only if the format
>+# one that we should remember.
>+my $format_qm = quotemeta($vars->{'format'});
>+if (grep /^$format_qm$/, qw(specific advanced)) {
variables in regexps are naughty. ;)
how about:
if (grep {$_ eq $vars->{'format'}} qw(specific advanced)) {
Then you don't need to mess with quotemeta or anything.
Attachment #152896 -
Flags: review?(justdave) → review-
Attachment #152896 -
Attachment is obsolete: true
Attachment #152899 -
Flags: review?(justdave)
Updated•21 years ago
|
Attachment #152899 -
Flags: review?(justdave) → review+
Updated•21 years ago
|
Flags: approval2.18+
Flags: approval+
Reporter | ||
Comment 6•21 years ago
|
||
checked in on both branches
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
*** Bug 251157 has been marked as a duplicate of this bug. ***
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•