Chris Millar created SLING-4671:
-----------------------------------
Summary: Sightly does not render correctly when non-HTML resource
cannot be found
Key: SLING-4671
URL: https://issues.apache.org/jira/browse/SLING-4671
Project: Sling
Issue Type: Bug
Components: Scripting
Affects Versions: Scripting Sightly Engine 1.0.2
Environment: Linux / OS X, Sling & Sightly Snapshot.
Reporter: Chris Millar
Priority: Minor
When creating /apps/sling/servlet/errorhander/404.html
Sightly template is not rendered correctly for all 404s that are of a different
resource type.
The following will result in the sightly template being dumped as plain text:
http://slick.millr.org/test
If you browse to a page of the same resource type (html), Sightly renders
correctly:
http://slick.millr.org/test.html
Additionally, images attempt to render, even if they do not exist.
http://slick.millr.org/test.jpg
Using JSP, all URLs work as expected.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)