User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:188.8.131.52) Gecko/20060426 Firefox/184.108.40.206 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:220.127.116.11) Gecko/20060426 Firefox/18.104.22.168 I have a saved search called "All bugs". It uses the "Find a specific bug" tab and specifies "All" for Status and "All" for Products, no words. When I go to edit this search, the Status field is back to "Open". Reproducible: Always Steps to Reproduce: 1. Save a search as described above 2. Run search, click on "Edit Search" 3. See the Status field filled incorrectly with "Open" instead of "All" Actual Results: Comes back with "Open" in the status field Expected Results: Should have had the "All" option selected
Dangit, forgot to add the version of Bugzilla I'm using! Running 2.22 on Windows Server 2003 R2 with ActivePerl 22.214.171.1247.
I can reproduce the bug on 2.23 too. The product and word given are correctly set, but the status isn't.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Other → All
Hardware: PC → All
I encounter a similar behaviour on Bugzilla 2.22 - when I search for (e.g Closed) bugs using a "Find a Specific Bug" tab of a query.cgi page and then on a "Bug List" page follow a link "Edit Search", the URL query contains a set of bug_status key/value pairs as replaced by Bugzilla/Search.pm, e.g: http://.../query.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&... My older Bugzilla 2.20 seems to work fine - the resulting URL query contains an original bug_status key/value pair: http://.../query.cgi?query_format=specific&bug_status=__closed__&...
Note that editing a quicksearch is broken too.
Created attachment 483745 [details] [diff] [review] patch, v1 We now store and restore bug_status manually when doing a specific search. Bugzilla 4.1 is not affected thanks to the refactoring mkanat did.
Assignee: query-and-buglist → LpSolit
Status: NEW → ASSIGNED
Attachment #483745 - Flags: review?(mkanat)
Whiteboard: [4.1 not affected; 4.0 and older only]
Target Milestone: --- → Bugzilla 3.6
Committing to: bzr+ssh://firstname.lastname@example.org/bugzilla/4.0/ modified buglist.cgi Committed revision 7445. Committing to: bzr+ssh://email@example.com/bugzilla/3.6/ modified buglist.cgi Committed revision 7190.
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Summary: Edit saved simple search does not remember "All" Status option → When editing a simple search, the bug status is lost
You need to log in before you can comment on or make changes to this bug.