sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SLING-2094) Adding support to call a sling resource for JSP page exception handler <%@ page errorPage ... %>
Date Tue, 21 Jun 2011 12:49:47 GMT

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

Bertrand Delacretaz updated SLING-2094:
---------------------------------------

    Attachment: SLING-2094-integration-tests.patch

I tried to create integration tests for this feature on Sling's trunk revision 1137981 with
your SLING-2094-asanso3-patch.txt patch applied, but my testWithError fails, no content is
returned.

Apparently processing the error page causes an error as the requestResourceResolver is not
set in the SlingIOProvider, so the error page resource is not found in SlingIOProvider.getResourceInternal(path).

Antonio, could you check if anything's wrong in my tests?

> Adding support to call a sling resource for JSP page exception handler  <%@ page errorPage
... %>
> -------------------------------------------------------------------------------------------------
>
>                 Key: SLING-2094
>                 URL: https://issues.apache.org/jira/browse/SLING-2094
>             Project: Sling
>          Issue Type: New Feature
>          Components: Engine, Scripting
>            Reporter: Antonio Sanso
>            Priority: Minor
>         Attachments: SLING-2094-asanso-patch.txt, SLING-2094-asanso2-patch.txt, SLING-2094-asanso3-patch.txt,
SLING-2094-integration-tests.patch
>
>
> At the moment the JSP page exception handler (<%@ page errorPage ... %>) is not
supported as the jsp engine can't resolve the path to the jsp if  this is a repository resource.
> See also the user mailing list  [0] for more details
> [0] http://www.mail-archive.com/users@sling.apache.org/msg01369.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message