Remo Liechti created SLING-12958:
------------------------------------
Summary: sendError() must not be allowed during include
Key: SLING-12958
URL: https://issues.apache.org/jira/browse/SLING-12958
Project: Sling
Issue Type: Bug
Components: Engine
Affects Versions: Engine 3.0.0, Engine 2.16.2
Reporter: Remo Liechti
Assignee: Carsten Ziegeler
Fix For: Engine 3.0.0, Engine 2.16.4
SlingHttpServletResponseImpl.reset checks if the validation for include is
enabled and resets the response only for non-enabled cases.
For error handling, this is wrong. The ErrorFilterChain calls the reset during
the doFilter method to meet the "resetting policy" documented on:
[https://sling.apache.org/documentation/the-sling-engine/errorhandling.html]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)