Opened 18 years ago
Closed 18 years ago
Last modified 15 years ago
#1659 closed defect (fixed)
Alternate formats for reports are broken
|Reported by:||Emmanuel Blot||Owned by:||Christian Boos|
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)
Change History (4)
by , 18 years ago
comment:1 by , 18 years ago
The trouble seems to come from the way
ReportModule._render_view(req, db, id) is handled in
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 , 18 years ago
|Status:||new → assigned|
… - I'm not a good Python developer.
Trac is an excellent reason for learning python :)
comment:3 by , 18 years ago
|Status:||assigned → closed|
Fixed in 
Patch sample for