Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color Picker Plugin does not work with Camunda Modeler 5.0 #548

Open
pme123 opened this issue Jul 7, 2022 · 0 comments
Open

Color Picker Plugin does not work with Camunda Modeler 5.0 #548

pme123 opened this issue Jul 7, 2022 · 0 comments

Comments

@pme123
Copy link

pme123 commented Jul 7, 2022

When selecting an Activity in the Modeler 5.0, I get the following error:

[../invoice.v1.bpmn] Tried to access di from the businessObject. The di is available through the diagram element only. For more information, see https://github.com/bpmn-io/bpmn-js/issues/1472
    at s.get (webpack:///node_modules/bpmn-js/lib/util/CompatibilityUtil.js:69:14)
    at Object.ColorPlugin._getColor (file:///Users/mpa/Library/Application%20Support/camunda-modeler/plugins/bpmn-js-plugin-color-picker/client/client-bundle.js:29:24)
    at file:///Users/mpa/Library/Application%20Support/camunda-modeler/plugins/bpmn-js-plugin-color-picker/client/client-bundle.js:19:39
    at file:///Applications/Camunda%20Modeler.app/Contents/Resources/app.asar/public/4.4.js:1:57423
    at listener (webpack:///node_modules/bpmn-js/node_modules/diagram-js/lib/core/EventBus.js:371:33)
    at _invokeListener (webpack:///node_modules/bpmn-js/node_modules/diagram-js/lib/core/EventBus.js:352:23)
    at _invokeListeners (webpack:///node_modules/bpmn-js/node_modules/diagram-js/lib/core/EventBus.js:313:23)
    at fire (webpack:///node_modules/bpmn-js/node_modules/diagram-js/lib/features/selection/Selection.js:106:17)
    at file:///Applications/Camunda%20Modeler.app/Contents/Resources/app.asar/public/4.4.js:1:121700
    at file:///Applications/Camunda%20Modeler.app/Contents/Resources/app.asar/public/4.4.js:1:57423 [ error ]
This error may be the result of a plug-in compatibility issue. [ info ]
[Disable plug-ins (restarts the app)](https://github.com/camunda-consulting/camunda-7-code-examples/issues/new#) [ info ]

Removing the Color Picker solves that error.

bpmn-io/bpmn-js#1472 describes the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant