Ticket #2834 (new enhancement)
Defer all publish calls until all modules have been initialised
Reported by: | aron.carroll | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | demo phase 4 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
Currently if a module uses sandbox.publish() in its initilaize() function then any modules initialised afterwards will miss the event.
We should queue all calls to .publish() in the pubsub module in an array until all modules have loaded then iterate over and execute them.
Change History
Note: See
TracTickets for help on using
tickets.