Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2870

ServletDispatchingFilter is not dispatching destroy() method to wrapped servlet

XMLWordPrintable

      The ServletDispatchingFilter calls the init() method of the wrapped servlet on start-up.

      When the contents of the servlets tree in /server/filters/servlets are changed in the magnolia admincentral, magnolia reloads the filter chain
      to enable the changes to be processed, and thus creates a new instance, and calls the init() method.
      The destroy method of the wrapped servlet does not seem to be called.

      In my opinion it would be nice to also dispatch the destroy method to the wrapped servlet. At the moment the destroy() is completely ignored
      by the ServletDispatchingFilter. This might lead to unexpected behaviour in some scenarios.

        Acceptance criteria

              pbaerfuss Philipp Bärfuss
              erik.alphenaar Erik Alphenaar
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - 0.5h
                    0.5h
                    Remaining:
                    Remaining Estimate - 0.5h
                    0.5h
                    Logged:
                    Time Spent - Not Specified
                    Not Specified