Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-12316

Servlet Name might be set incorrectly after an exception

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Engine 2.15.14
    • Engine 2.15.16
    • Engine
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              joerghoh Joerg Hoh
              joerghoh Joerg Hoh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: