Closed Bug 179671 Opened 23 years ago Closed 21 years ago

Boolean charts are broken on reporting pages

Categories

(Bugzilla :: Reporting/Charting, defect)

2.17.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: gerv, Assigned: justdave)

References

Details

Attachments

(1 file, 1 obsolete file)

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
Blocks: 179176
Depends on: 180205
Fixed by bug 180205. Gerv
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.18
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?
the fix is to modify report.cgi and take the "\n\n" out of $location in the redirect part at the top.
doh. he's right. :) Thanks, Rob!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch Patch v1 (obsolete) — Splinter Review
Assignee: gerv → justdave
Status: REOPENED → ASSIGNED
Attachment #148674 - Flags: review?(gerv)
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
(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.
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 %]">
Rob: thanks! Dave: do you want to add something like that to your patch? Gerv
Flags: blocking2.18?
Gerv: Sure, go for it.
Flags: blocking2.18? → blocking2.18+
Attached patch Patch v2Splinter Review
Attachment #148674 - Attachment is obsolete: true
Attachment #149608 - Flags: review?(gerv)
Attachment #148674 - Flags: review?(gerv)
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+
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 ago21 years ago
Resolution: --- → FIXED
Flags: approval+
*** Bug 249134 has been marked as a duplicate of this bug. ***
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: