Old bpmn files cannot be opened in newer Modelers
See original GitHub issueDescribe the Bug
We have a bpmn file that was created with Modeler version 2.2.4 and then uploaded to Cawemo. In Cawemo the diagram cannot be opened. When opening the file in Modeler versions 3.2.0 and newer, the file cannot be rendered and the following log is shown:
[/Users/XXXX/Downloads/XXXX.bpmn] no diagram to display
at Object.handleDefinitions (webpack:///node_modules/bpmn-js/lib/import/BpmnTreeWalker.js:173:0)
at file:///Volumes/Camunda%20Modeler%203.2.0/Camunda%20Modeler.app/Contents/Resources/app.asar/public/6.6.js:1:392700
at file:///Volumes/Camunda%20Modeler%203.2.0/Camunda%20Modeler.app/Contents/Resources/app.asar/public/6.6.js:1:392723
at this (webpack:///node_modules/bpmn-js/lib/Viewer.js:311:26)
at open (webpack:///node_modules/bpmn-js/lib/Viewer.js:256:0)
at file:///Volumes/Camunda%20Modeler%203.2.0/Camunda%20Modeler.app/Contents/Resources/app.asar/public/6.6.js:1:391731
at file:///Volumes/Camunda%20Modeler%203.2.0/Camunda%20Modeler.app/Contents/Resources/app.asar/public/0.0.js:1:373393 [ error ]
This error may be the result of a plug-in compatibility issue. [ info ]
Disable plug-ins (restarts the app) [ info ]
Expected Behavior
- We show the
illegal id
warning (hidden right now) - We show the error (diagram cannot be found)
Current workaround
Change the ‘id’ attribute of the bpmn:definitions tag such that it does not start with a number and the diagram is rendered properly.
Environment
- OS: MacOS (but not relevant, same issue in Cawemo)
- Camunda Modeler Version: 3.2.0 and newer
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
TROUBLESHOOTING THE BPMN MODELER
NOTE: Saving the old model will not create a new signature. ... Open a new BPMN model (Start > All Programs > Interfacing...
Read more >Migrating from BPMN 1.1 - Cameo Business Modeler Plugin ...
On the main menu, click File > Import From > BPMN 1.1 Project. The Open BPMN 1.1 Project dialog opens. Select a project...
Read more >BPMN 2.0 Modeler » Error opening bpmn file - Eclipse
When attempting to open a bpmn file, I am getting the following error: org.eclipse.core.runtime.AssertionFailedException: assertion failed:
Read more >BPMN Modeler Enterprise Documentation - Confluence - viadee
You can export your diagram as PNG, SVG and XML (.bpmn) file. This can be done in different ways: in page view via...
Read more >Deployment Error When Attaching Two Camunda-Forms
could you please share the bpmn and form files and not just the ... You are using an older version of the Camunda...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My few cents from the 🛋️:
This is a bug we should fix.
We want people to migrate their diagrams. These diagrams are broken, as they contain invalid IDs in the XML. Note that such IDs have been created in very rare cases, only. We do not want old diagrams to be magically opened.
We’ve decided that we will improve the situation in the following way: