-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
Steps to reproduce:
- Download a Camunda Distribution
- Move the files camunda.json (moddle extension), plugin.js (to access camunda extension properties), and config.js (to configure the moddle extension and the plugin) into $PATH_TO_TOMCAT/webapps/camunda/app/cockpit/scripts
- Start Camunda
- Open in browser http://localhost:8080/camunda/app/cockpit/default/
- Go to any process that contains camunda:asyncBefore (or camunda:asyncAfter) properties
Expected Behavior:
The Camunda moddle extension is applied, so that for example in the browser console the following is shown:
camunda:asyncBefore true camunda:asyncAfter false camunda:asyncBefore true camunda:asyncAfter false
Observed Behavior:
The Camunda moddle extension is not applied, so that for example in the browser console the following is shown:
camunda:asyncBefore undefined camunda:asyncAfter undefined camunda:asyncBefore undefined camunda:asyncAfter undefined
Hints:
- The BPMN is pre-transformed by the transform service, see [1].
- The result of the pre-transform step is used to render the diagram, so that the function Viewer#importDefinitions() is called, see [2].
- The moddle extensions are not applied when doing the pre-transform in [1].
[1]: https://github.com/camunda/camunda-bpm-webapp/blob/3953b91e0975f9beac59f4e698114d041a56ed01/ui/cockpit/client/scripts/services/transform.js
[2]: https://github.com/camunda/camunda-commons-ui/blob/394963252a51076a90a60a584d73a25d385b7c4a/lib/widgets/bpmn-viewer/cam-widget-bpmn-viewer.js#L318-L320
This is the controller panel for Smart Panels app
- depends on
-
CAM-9602 Cannot login into Cockpit, when providing any moddle extensions in config.js
- Closed