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

An installed extension does not receive ApplicationStartedEvent

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5
    • Fix Version/s: 9.5-rc-1
    • Component/s: Extension
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      When an extension is installed it will not receive an ApplicationStartedEvent since this event is only sent at startup so if it count on it to initialize some stuff it's not going to work until it's restarted.

      There several possibilities:

      • selectively send the ApplicationStartedEvent event to the extension listeners but that's a bit complex
      • get rid of ApplicationStartedEvent and make extensions officially listen their own Extension or Component event

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: