Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4024

In some cases the component manager might not be initialized for non components

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0 M1, 1.9.1
    • 1.9
    • {Unused} Core
    • None
    • Unknown

    Description

      We're setting up the component manager in Utils.setComponentManager. This is done from Utils.prepareContetx but there are some edge cases when it can happen that a request arrive in the system and prepareContext has not been called.

      Change this to call Utils.setComponentManager in the servlet context listener so that it's initialized before any request comes in.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: