Joerg Hoh created SLING-12316:
---------------------------------

             Summary: Servlet Name might be set incorrectly after an exception
                 Key: SLING-12316
                 URL: https://issues.apache.org/jira/browse/SLING-12316
             Project: Sling
          Issue Type: Task
          Components: Engine
    Affects Versions: Engine 2.15.14
            Reporter: Joerg Hoh


In case an exception happens, the name is not reset properly: 
[https://github.com/apache/sling-org-apache-sling-engine/blob/ad11b3b108764312e6db87aea7de18c3fa00db34/src/main/java/org/apache/sling/engine/impl/request/RequestData.java#L553]

{{requestData.setActiveServletName(callerServlet);}} must be moved into the 
finally block



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

Reply via email to