You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2015/10/12 15:26:06 UTC

[jira] [Closed] (SLING-4671) Sightly does not render correctly when non-HTML resource cannot be found

     [ https://issues.apache.org/jira/browse/SLING-4671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radu Cotescu closed SLING-4671.
-------------------------------

> 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
>            Assignee: Radu Cotescu
>            Priority: Minor
>             Fix For: Scripting Sightly Engine 1.0.6
>
>
> 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)