Ticket #2834 (new enhancement)

Opened 21 months ago

Last modified 21 months ago

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

comment:1 Changed 21 months ago by toby

  • Milestone changed from demo phase 5 to demo phase 4

comment:2 Changed 21 months ago by aron.carroll

Done in 092d257

Note: See TracTickets for help on using tickets.