Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-67

DefaultExecutionContextManager#clone can corrupt current ExecutionContext if an initializer fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.3-rc-1, 3.2.1
    • 3.2
    • Context
    • None

    Description

      DefaultExecutionContextManager set the current context to the cloned one to make sure it's the current context when calling initializer but if one of the initializer fail it does not restore the proper context which leads to half initialized context lost for all th.e coded following clone().

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: