zeebe-modeler
zeebe-modeler copied to clipboard
Wrong Error Message Text When Attempting to Open DMN
Describe the Bug
Trying to open a non-BPMN file results in an error message with the wrong text.

Steps to Reproduce
- Try opening a DMN diagram
- Error message pops up
Expected Behavior
Error message reads "diagram.dmn" is not a BPMN file.
Environment
- Zeebe Modeler Version: 0.9.0
@pinussilvestrus Can I take up this issue?
Of course! Feel free to open a PR and/or ask for help if you need some 🚀
What should be the text for the error message then?
There is a hint in the issue description
Error message reads
"diagram.dmn" is not a BPMN file.
Despite, you can always come up with another solution if you think there is something better.
Is this card is ready to pick, i would like to work upon.
Feel free to open a PR. There was already work done in this regard: https://github.com/zeebe-io/zeebe-modeler/pull/256, which was not finished.