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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2 M3
    • Fix Version/s: 3.2 RC1
    • Component/s: Context
    • Labels:
      None
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved: