#1659 closed defect (fixed)
Alternate formats for reports are broken
Reported by: | Emmanuel Blot | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | 0.9 |
Component: | report system | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
In [1762]
When RSS format is chosen, the HTML regular format is generated When CSV, TSV or SQL format is chosen, the appropriate format is generated, it is nevertheless followed by the full HTML content (including HTTP headers)
Attachments (1)
Change History (4)
by , 20 years ago
Attachment: | report.cs.patch added |
---|
comment:1 by , 20 years ago
The trouble seems to come from the way ReportModule._render_view(req, db, id)
is handled in process_request
.
The return value is not tested, and the execution of process_request
resumes, whereas it should only resume if no alternate format is used.
The attached patch is probably not the best way to solve the issue - I'm not a good Python developer.
comment:2 by , 20 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
… - I'm not a good Python developer.
Trac is an excellent reason for learning python :)
Patch sample for [1762]