Closed Bug 177099 Opened 23 years ago Closed 23 years ago

Stored queries ordering and editing broken after moving to CGI.pm

Categories

(Bugzilla :: Query/Bug List, defect, P1)

2.17

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: toms.baugis, Assigned: justdave)

Details

(Keywords: regression)

Attachments

(1 file)

As already discussed in irc.mozilla.org: After moving to CGI.pm, stored queries are something like broken. Bugzilla Version 2.17 Steps to reproduce(1): 1.1. Click on a stored query 1.2. Click on one of column names to change order Result - you get buglist of all bugs Expected - stored query ordered by field Steps to reproduce(2): 2.1. Click on a stored query 2.2. Click on "Edit this query" Result - you get default query to edit. Expected - stored query to edit
The fix is to replace |my $query| with $::buffer in line 239 on buglist.cgi, and then creation teh Bugzilla::CGI objkect using that instead I'm not going to ahve time to manage this for the next few weeks - anyone?
Keywords: regression
Priority: -- → P1
Target Milestone: --- → Bugzilla 2.18
I'll grab it.
Assignee: bbaetz → justdave
Attached patch PatchSplinter Review
Comment on attachment 104367 [details] [diff] [review] Patch If this works, r=bbaetz x2 $::buffer will go eventually, but I didn't mean to kill it off yet...
Attachment #104367 - Flags: review+
Comment on attachment 104367 [details] [diff] [review] Patch removing second-review based on bbaetz's comment #4, where he gave 2xr= on the condition that it works. That isn't a review :) I haven't tested it yet, I just posted the patch bbaetz told me would fix it in IRC. I'll try it out later tonight. I'd appreciate confirmation from Tom if you back out your previous fix and try this and see if it works.
Attachment #104367 - Flags: review+
i confirm, that patch works and fixes the problem. so, i would give a 2xr= (or something) :)
Checking in buglist.cgi; /cvsroot/mozilla/webtools/bugzilla/buglist.cgi,v <-- buglist.cgi new revision: 1.205; previous revision: 1.204 done
Status: NEW → RESOLVED
Closed: 23 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

Created:
Updated:
Size: