Closed
Bug 179671
Opened 23 years ago
Closed 21 years ago
Boolean charts are broken on reporting pages
Categories
(Bugzilla :: Reporting/Charting, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: gerv, Assigned: justdave)
References
Details
Attachments
(1 file, 1 obsolete file)
1.38 KB,
patch
|
jouni
:
review+
|
Details | Diff | Splinter Review |
They are broken in two ways:
- There's no list of fields
- Asking for AND or OR submits to report.cgi, which doesn't understand it, and
so throws the error "no axes defined".
Gerv
Reporter | ||
Comment 1•23 years ago
|
||
Fixed by bug 180205.
Gerv
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → Bugzilla 2.18
Comment 2•21 years ago
|
||
this bug seems to have re-appeared in 2.17.6 (at least).
there is a list of fields, but clicking on "AND" or "Add new boolean chart"
breaks the whole thing.
It happens on bugzilla.mozilla.org, as well as in my own 2.17.7. Can someone
re-open?
Comment 3•21 years ago
|
||
the fix is to modify report.cgi and take the "\n\n" out of $location in the
redirect part at the top.
Assignee | ||
Comment 4•21 years ago
|
||
doh. he's right. :) Thanks, Rob!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 5•21 years ago
|
||
Assignee: gerv → justdave
Status: REOPENED → ASSIGNED
Assignee | ||
Updated•21 years ago
|
Attachment #148674 -
Flags: review?(gerv)
Reporter | ||
Comment 6•21 years ago
|
||
This doesn't seem to fix the problem for me. Both before and after, I get:
"The requested format table does not exist with a content type of html."
Rob: is that the error you were seeing?
Gerv
Comment 7•21 years ago
|
||
(In reply to comment #6)
Perhaps this fixes a different error altogether. The problem I was seeing
was "malformed header" in the apache2 error_log.
Comment 8•21 years ago
|
||
Here's how to fix the "The requested format table does not exist with a content
type of html" error:
In search/form.html.tmpl, change:
<input type="hidden" name="query_format" value="[% format FILTER html %]">
to
[% thisformat = query_format != '' ? query_format : format %]
<input type="hidden" name="query_format" value="[% thisformat FILTER html %]">
Reporter | ||
Comment 9•21 years ago
|
||
Rob: thanks!
Dave: do you want to add something like that to your patch?
Gerv
Flags: blocking2.18?
Assignee | ||
Comment 11•21 years ago
|
||
Attachment #148674 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #149608 -
Flags: review?(gerv)
Assignee | ||
Updated•21 years ago
|
Attachment #148674 -
Flags: review?(gerv)
Comment 12•21 years ago
|
||
Comment on attachment 149608 [details] [diff] [review]
Patch v2
>Index: template/en/default/search/form.html.tmpl
>===================================================================
>-<input type="hidden" name="query_format" value="[% format FILTER html %]">
>+[% thisformat = query_format != '' ? query_format : format %]
>+<input type="hidden" name="query_format" value="[% thisformat FILTER html %]">
I'd love to forget the temp variable and just say |[% (query_format or format)
FILTER html %]|, but whatever pleases you most.
r=jouni
Attachment #149608 -
Flags: review?(gerv) → review+
Assignee | ||
Comment 13•21 years ago
|
||
Checking in report.cgi;
/cvsroot/mozilla/webtools/bugzilla/report.cgi,v <-- report.cgi
new revision: 1.24; previous revision: 1.23
done
Checking in template/en/default/search/form.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/search/form.html.tmpl,v
<-- form.html.tmpl
new revision: 1.24; previous revision: 1.23
done
Status: ASSIGNED → RESOLVED
Closed: 23 years ago → 21 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•21 years ago
|
Flags: approval+
Comment 14•21 years ago
|
||
*** Bug 249134 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
•