Sling request attributes not properly reset after an resource include
---------------------------------------------------------------------
Key: SLING-693
URL: https://issues.apache.org/jira/browse/SLING-693
Project: Sling
Issue Type: Bug
Components: Engine
Affects Versions: Engine 2.0.2
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: Engine 2.0.4
The "org.apache.sling.api.include.servlet" and
"org.apache.sling.api.include.resource" request attributes are defined in the
Sling API to be set to be the servlet including the currently executing servlet
and the resource pertaining to that including servlet.
Currently, the attribute is just set when a resource is included through the
RequestDispatcher. When the include returns from the RequestDispatcher the
attribtues are not reset to the previous values, thus still reflecting "self"
instead of the actual including servlet.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.