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

DefaultExecutionContextManager#clone can corrupt current ExecutionContext if an initializer fail

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3-rc-1, 3.2.1
    • Component/s: Context
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: