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)