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

Carsten Ziegeler commented on SLING-11300:
------------------------------------------

First implementation with 
https://github.com/apache/sling-org-apache-sling-scripting-jsp/commit/b4ef34f466c8c6813de989ffd683b100ed3c0c65

This change aligns the exception and the servlet handling with non precompiled 
scripts by using the same code to invoke the servlet and handle the exception.
If an exception occurs, the JSP is compiled on demand in order to get the 
source info of the JSP.

> JSP source/linenumber not shown with precompiled scripts when exception is 
> thrown
> ---------------------------------------------------------------------------------
>
>                 Key: SLING-11300
>                 URL: https://issues.apache.org/jira/browse/SLING-11300
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting JSP 2.5.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Scripting JSP 2.6.0
>
>
> When precompiled (bundled) scripts are used, the JSP source/linenumber is not 
> shown at all when an exception is thrown from within that code (or anything 
> that code is calling)



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

Reply via email to