You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2023/04/14 12:23:00 UTC
[jira] [Created] (SLING-11829) Response should be resetted before invoking error filters
Carsten Ziegeler created SLING-11829:
----------------------------------------
Summary: 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
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)