No error dialog when broken diagram is opened
See original GitHub issueDescribe the Bug
When I open a broken diagram or break the diagram in XML tab, Camunda Modeler shows a never ending loading indicator. There is no error dialog.
Steps to Reproduce
Steps to reproduce the behavior:
- Open a broken diagram.
- …
or
- Open a valid diagram.
- Break it in XML tab.
- Open the diagram tab.
Expected Behavior
An error dialog is shown.
Environment
Please complete the following information:
- OS: MacOS
- Camunda Modeler Version:
master
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Troubleshoot damaged drawings in Visio - Office
Contains information about how to troubleshoot damaged drawings in Visio 2013, Visio 2010, Visio 2007, Visio 2003 and Visio 2002.
Read more >Error List Window - NI - National Instruments
Use this dialog box to display the errors and warnings used to correct a broken VI and to debug an executable VI.
Read more >5 Proven Ways to Fix "PowerPoint Not Opening"
If you wish to take hold over such ppt not opening issues, this article will provide you with sufficient information to get back...
Read more >VBA Error Handling - A Complete Guide - Excel Macro Mastery
If this file gets deleted then VBA will display an error when your code tries to open it. Other examples of runtime errors...
Read more >Save Simulink model - MATLAB save_system - MathWorks
After you save the model by another name, the model is no longer open under ... Error using save_system (line 38) The model...
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
parseDiagramType.js
sketches a simple and safe way to start parsing a diagram to figure out certain pieces of information. It is used for finding the type of a diagram, if it is called.xml
.We should follow that approach and properly handle ignore errors during namespace parsing (i.e. just pretend there is no conversion required).
Instead of modifying definitions, I’ll just prepare a regex to replace prefixes and namespace params.