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

Felix Meschberger updated SLING-565:
------------------------------------

          Component/s: Engine
    Affects Version/s: Engine 2.0.2

Not sure, where exactly this must be fixed. For the moment attributing this 
issue the Sling Engine and scripting core.

> Prevent multiple wrapping of exceptions thrown in included requests
> -------------------------------------------------------------------
>
>                 Key: SLING-565
>                 URL: https://issues.apache.org/jira/browse/SLING-565
>             Project: Sling
>          Issue Type: Improvement
>          Components: Engine, Scripting
>    Affects Versions: Engine 2.0.2, Scripting Core 2.0.2
>            Reporter: Felix Meschberger
>
> Currently if an exception occurrs while processing a script in an included 
> request, the exception is wrapped. If the exception happens in a script 
> included over multiple levels, the exception is wrapped multiple times.
> Rather than re-wrapping these exceptions multiple times, wrappings should be 
> replaced when forwarding wrapped exceptions.
> One such exception wrapping takes place when recursively including the same 
> resource such that a InfiniteIncludeLoopException is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to