[ 
https://issues.apache.org/jira/browse/SLING-11307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533798#comment-17533798
 ] 

Carsten Ziegeler commented on SLING-11307:
------------------------------------------

Removed unnecessary wrapping in servlets resolver and scripting core:
https://github.com/apache/sling-org-apache-sling-servlets-resolver/commit/ab9565bd709741979f136f07a8321033299a1543
https://github.com/apache/sling-org-apache-sling-scripting-core/commit/c9f444f6a621c4b63c978f3189aee55dbcbb9e4b

> Different exception passed to error handler  with bundled scripts
> -----------------------------------------------------------------
>
>                 Key: SLING-11307
>                 URL: https://issues.apache.org/jira/browse/SLING-11307
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Servlets Resolver 2.9.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Scripting Core 2.4.8, Servlets Resolver 2.9.6
>
>
> At least for JSPs, different exceptions are passed to the error handler if 
> bundled scripts are used. 
> Example: if a NullPointerException is thrown, the NPE is passed to the error 
> handler for repository based scripts - which is correct. For bundled scripts 
> a ServletException is passed to the error handler - which is not correct



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to