-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Feature:UIActionsUI actions. These are client side only, not related to the server side actions..UI actions. These are client side only, not related to the server side actions..blockerbugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experiencev7.12.0
Description
Kibana version: master, 7.x
Steps to reproduce:
This is hard to catch race conditions. Appeared in builds.
This would happen when data plugin setup is called before embeddable plugin setup:
- Embeddable registers a trigger:
uiActions.registerTrigger(valueClickTrigger); - Data plugin attaches an action to a trigger:
kibana/src/plugins/data/public/plugin.ts
Lines 116 to 121 in 4ee9603
uiActions.addTriggerAction( 'VALUE_CLICK_TRIGGER', createValueClickAction(() => ({ uiActions: startServices().plugins.uiActions, })) );
Data plugin and embeddable plugin do not have an explicit dependency on each other. So it could happen that the data plugin is loaded before the embeddable plugin and it is causing an error.
This is most likely a regression since #82791
possible solutions:
- Try to move registering actions to a start phase in data plugin
- Make data depend on embeddable?
- move those triggers to data plugin?
Metadata
Metadata
Assignees
Labels
Feature:UIActionsUI actions. These are client side only, not related to the server side actions..UI actions. These are client side only, not related to the server side actions..blockerbugFixes for quality problems that affect the customer experienceFixes for quality problems that affect the customer experiencev7.12.0
