Closed
Bug 204854
Opened 21 years ago
Closed 21 years ago
cannot search for Bugzilla versions which contain commas
Categories
(Bugzilla :: Query/Bug List, defect)
Bugzilla
Query/Bug List
Tracking
()
RESOLVED
DUPLICATE
of bug 179309
People
(Reporter: brm, Assigned: endico)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 Any bug version specified containing a comma cannot be searched on because of this code in GenerateSQL in buglist.cgi foreach my $field (keys %F) { if (lsearch(\@legal_fields, $field) != -1) { push(@specialchart, [$field, "anyexact", join(',', @{$M{$field}})]); } } and then a subsequent split on comma at a later point using the ",anyexact" method: ",anyexact" => sub { my @list; foreach my $w (split(/,/, $v)) { if ($w eq "---" && $f !~ /milestone/) { $w = ""; } push(@list, "$ff = " . SqlQuote($w)); } $term = join(" OR ", @list); }, Reproducible: Always Steps to Reproduce: 1. create a version containing a comma 2. create a bug using that version 3. search for bugs with that version Actual Results: I get no bugs returned despite the fact that there is one registered to that version. Expected Results: The bug with that version should be returned
Comment 1•21 years ago
|
||
This is the same as bug 179309. Also see bug 67036. *** This bug has been marked as a duplicate of 179309 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•11 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
•