Changes between Version 1 and Version 2 of Ticket #13042
- Timestamp:
- Jun 13, 2018, 10:27:08 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13042 – Description
v1 v2 2 2 3 3 For a normal request the work of rendering a template is done in `trac.web.main`. I propose having a `_send_error` method in `trac.web.main` that does the work of loading and rendering the error template, and have `Request.send_error` behave more like `Request.send`. 4 5 `Request.send_error` has rendered the template since it was added in r2957. At that time, the `Request.display` method (appears to be similar to `Request.send`) would also render the HDF template. `Request.send` was added in r3832 and `Request.display` was removed in r10405 (when ClearSilver support was removed).