Ticket #1266 (closed clarification: fixed)
Broken template display for invalid static pages instead of 404
| Reported by: | npeterson | Owned by: | rcave |
|---|---|---|---|
| Priority: | high | Milestone: | 0.9.3_rc1 |
| Component: | ambra | Version: | 0.9.2 |
| Keywords: | Cc: |
Description
When viewing a page that doesn't exist, the template display is broken. It should be displaying a Page Doesn't Exists error. For example:
http://www.plosone.org/static/tchecklist.action []
In the log:
2009-04-17 10:28:38,513 ERROR runtime(PLoSONE)> [TP-Processor155 freemarker.runtime] Error reading included file journals/plosone/static/tchecklist.ftl The problematic instruction:
==> include "${templateFile}" [on line 31, column 1 in templates/main_template.ftl]
Java backtrace for programmers:
freemarker.template.TemplateException?: Error reading included file journals/plosone/static/tchecklist.ftl
Change History
Note: See
TracTickets for help on using
tickets.
