[
https://issues.apache.org/jira/browse/SLING-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zhangchunlong updated SLING-1121:
---------------------------------
Component/s: (was: Engine)
Servlets
Affects Version/s: (was: JCR Resource 2.0.6)
Servlets Resolver 2.0.6
Update component and affect versions.
> ServletResolver not properly resolving custom error handler 500 servlet/script
> ------------------------------------------------------------------------------
>
> Key: SLING-1121
> URL: https://issues.apache.org/jira/browse/SLING-1121
> Project: Sling
> Issue Type: Bug
> Components: Servlets
> Affects Versions: Servlets Resolver 2.0.6
> Environment: Day CQ5.2.1
> Reporter: zhangchunlong
> Priority: Minor
>
> Added script named 500.jsp to apps/sling/servlet/errorhandler and servlet
> resolver is not locating resource.
> Have another script at this location (404.jsp) and works fine. In the
> meantime added a Throwable.jsp script to that location to handle that at
> exception and is recognized by the ServletResolver.
> To reproduce:
> 1. Create script named 500.jsp in /apps/sling/servlet/errorhandler ( script
> can be as simple as static html or can include some logic..doesnt really
> matter )
> 2. Generate 500 error ( in publish or preview mode )
> 3. Notice that this script was ignored...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.