So … the current solution from my POV will be to listen to the same ApplicationStartedEvent, and start a job with a 5 seconds delay (configurable) before actually initializing the main wiki. These 5 seconds should give plenty of time for the other event listeners to execute, and so that we have a clean context.
On the long run, it would be super nice to have another way to do this, maybe by having another event fired up, or by being able to prioritize event listeners (have one execute after the other). WDYT Thomas Mortagne ?
Clément Aubin on 17/Sep/24 22:26
Added a 5 seconds delay by default to initialize the main wiki. This is configurable through the key wikiInitializer.mainWikiInitializationDelay (value should be given in miliseconds)
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.