Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1614 Refactor magnolia Context class hierarchy
  3. MAGNOLIA-1799

unset context in all threads, add MgnlContext.doInSystemContext() method

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Major
    • 3.5 RC1
    • 3.1 M3
    • None
    • None

    Description

      In some threads we do MgnlContext.setInstance(MgnlContext.getSystemContext()). But then we don't unset the context. If the threads are then used for request the ContextFilter fails to set a web context.

      This is the case for the servlet context listeners and observation event listeners

      A MgnlContext.doInSystemContext(runnable) would be nice.

      Attachments

        Activity

          People

            pbaerfuss Philipp Bärfuss
            pbaerfuss Philipp Bärfuss
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: