-
Bug Report
-
Resolution: Unresolved
-
L3 - Default
-
None
-
7.14.4
-
None
Environment (Required on creation):
Webapps, Chrome
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):
When bundling angularJS into a cockpit plugin, cockpit fails to load.
Steps to reproduce (Required on creation):
- follow the instructions of this example: https://github.com/camunda/camunda-bpm-examples/tree/master/cockpit/cockpit-angularjs-search-processes
- Open Cockpit. If it does load, reload it a few times until you see an infinite loading spinner
Observed Behavior (Required on creation):
- Cockpit does not load
Expected behavior (Required on creation):
- Cockpit load every time
Root Cause (Required on prioritization):
If Angular gets registered to the window object before jquery is present, jqlite will be used. JQuery is required for cockpit to work.
Solution Ideas (Optional):
- Load the Plugins after the initial cockpit bootstrap, not during. This way, interference is minimized
Hints (Optional):
Only present in 7.14.4, we already refactored this in 7.15