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

DefaultExecutionContextManager should make sure the Execution is set before calling actual initializers

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.2 RC1
    • 3.2 M3
    • Context
    • None

    Description

      Right now we have to set it before calling DefaultExecutionContextManager#initialize in case some initializer would need it with a big comment explaining why. IMO the more we have in DefaultExecutionContextManager#initialize the safest it is. As soon as it supposed to be always done then lets put it in the method which is already always called for it.

      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: