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

Response should be resetted before invoking error filters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Engine 2.14.0
    • Engine 2.15.0
    • Engine
    • None

    Description

      When the error handler is invoked, the chain of actions is currently:

      1. invoke error filters
      2. reset the response
      3. 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 :

      1. reset the response
      2. invoke error filters
      3. call error handler

       

       

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: