Closed
Bug 203951
Opened 22 years ago
Closed 18 years ago
setting your default query to include boolean charts doesn't work.
Categories
(Bugzilla :: Query/Bug List, defect)
Bugzilla
Query/Bug List
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: todd, Assigned: todd)
Details
Attachments
(1 file, 1 obsolete file)
|
1.68 KB,
patch
|
bugreport
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; YComp 5.0.2.4)
Build Identifier:
If you build a complex query that includes boolean charts, and try to save it
as your default query, it will save without problems. However, when you go to
the query page, the boolean chart section does not get restored to the saved
settings. Using a named query allows you to then "load" that query, which
works fine. Setting your default query to include boolean charts should work
as well, however.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•22 years ago
|
||
You are indeed correct. I can confirm this on today's bugzilla-tip installation
on my local machine.
Confirmed Behavior: Boolean charts are not correctly created as part of a
(saved) default query.
-M
Assignee: endico → justdave
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•21 years ago
|
||
I'm pretty sure this is fixed.... I think timeless reported it more recently
and cajoled someone into fixing it. Anyone know where the original bug is?
Assignee: justdave → query-and-buglist
QA Contact: mattyt-bugzilla → default-qa
Whiteboard: DUPEME
*** This bug has been marked as a duplicate of 275019 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Whiteboard: DUPEME
| Assignee | ||
Comment 4•20 years ago
|
||
This is not actually a duplicate of bug 275019. I verified that in 2.18 (which
includes the fix for bug 275019) that if you save a default query and include
boolean chart parameters, they will not be restored when you go back to the
query page to run your default query. Reopening this bug.
Todd
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
| Assignee | ||
Comment 5•20 years ago
|
||
I've gone ahead and looked into the code myself. I have implemented this same
fix against 2.18 for our use (using $::FORM variables instead of $cgi->param),
but here's is the equivalent patch for the tip. I confirmed that this fixes
the bug for us.
Todd
Attachment #196001 -
Flags: review?
| Assignee | ||
Updated•20 years ago
|
Assignee: query-and-buglist → tjs
Status: REOPENED → NEW
Comment 6•20 years ago
|
||
Comment on attachment 196001 [details] [diff] [review]
patch against tip
joel, could you have a look at this patch?
Attachment #196001 -
Flags: review? → review?(bugreport)
Comment 8•19 years ago
|
||
Comment on attachment 196001 [details] [diff] [review]
patch against tip
Apollo 13: Houston?
Attachment #196001 -
Flags: review?(justdave)
I've updated the original patch - i hope that's OK.
There were 2 problems:
1) bitrot,
2) The 'negate' boolean chart parameter was not included when loading the default query, so I added it
With those fixes, this patch works for me.
Attachment #196001 -
Attachment is obsolete: true
Attachment #276275 -
Flags: review?(bugreport)
Attachment #196001 -
Flags: review?(justdave)
Attachment #196001 -
Flags: review?(bugreport)
Attachment #276275 -
Flags: review?(justdave)
Comment 10•18 years ago
|
||
Comment on attachment 276275 [details] [diff] [review]
Include boolean charts in stored default query, v2
Don't forget to fix up the comment to include 'negate' as well.
r=joel
Attachment #276275 -
Flags: review?(bugreport) → review+
Updated•18 years ago
|
Attachment #276275 -
Flags: review?(justdave)
Comment 11•18 years ago
|
||
a=me to land this patch on the trunk, but it has to wait till 3.0.2 is released before landing it on the 3.0.x branch. GavinS, can you confirm that your patch also works on 3.0? If not and you don't want to fix it on the 3.0 branch, please retarget the bug to 3.2 and remove the approval3.0 flag.
Flags: approval3.0?
Flags: approval+
Target Milestone: --- → Bugzilla 3.0
Comment 12•18 years ago
|
||
The patch applies cleanly and works fine on 3.0.2. a=me for 3.0.x.
Status: NEW → ASSIGNED
Flags: approval3.0? → approval3.0+
Comment 13•18 years ago
|
||
tip:
Checking in query.cgi;
/cvsroot/mozilla/webtools/bugzilla/query.cgi,v <-- query.cgi
new revision: 1.175; previous revision: 1.174
done
3.0.2:
Checking in query.cgi;
/cvsroot/mozilla/webtools/bugzilla/query.cgi,v <-- query.cgi
new revision: 1.172.2.1; previous revision: 1.172
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago → 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•