question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No error dialog when broken diagram is opened

See original GitHub issue

Describe 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:

  1. Open a broken diagram.

or

  1. Open a valid diagram.
  2. Break it in XML tab.
  3. 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:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
nikkucommented, Feb 21, 2019

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).

0reactions
barmaccommented, Feb 25, 2019

Instead of modifying definitions, I’ll just prepare a regex to replace prefixes and namespace params.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found