Edgewall Software

Changes between Version 1 and Version 2 of Ticket #13042


Ignore:
Timestamp:
Jun 13, 2018, 10:27:08 AM (6 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13042 – Description

    v1 v2  
    22
    33For 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).