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

Carsten Ziegeler resolved SLING-11829.
--------------------------------------
    Resolution: Fixed

Fixed in 
https://github.com/apache/sling-org-apache-sling-engine/commit/47c0c965a49c81bc4725965896ed3db39cfff6ac

> Response should be resetted before invoking error filters
> ---------------------------------------------------------
>
>                 Key: SLING-11829
>                 URL: https://issues.apache.org/jira/browse/SLING-11829
>             Project: Sling
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: Engine 2.14.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Engine 2.14.2
>
>
> When the error handler is invoked, the chain of actions is currently:
>  # invoke error filters
>  # reset the response
>  # call error handler
> Obviously that order is wrong as it resets whatever error filters might have 
> already set on the response (like headers). The order should be :
>  # reset the response
>  # invoke error filters
>  # call error handler
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to