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

Impossible to inject a InstanceIdManager in a listener

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 7.4.5
    • Instance
    • None
    • Unknown
    • N/A

    Description

      DefaultInstanceIdManager is accessing the DB during its initialization. Problem is that any component that might need to use InstanceIdManager at some point end up accessing the DB in its initialization. For example, listeners are initialized way before the DB is ready to be accessed.

      DefaultInstanceIdManager should be a lot lazier than this.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: