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

Add error message for empty localName #42

Conversation

ddvlanck
Copy link
Collaborator

@ddvlanck ddvlanck commented Feb 8, 2024

  • Added return statement if there is a uri tag set. There is no need to go further in that case.
  • Added extra if-statement with error message if localName contains a null value or is undefined. This case can happen if the OSLO editor adds a name tag to the diagram, but does not provide a value for it.

@ddvlanck ddvlanck merged commit 49192f4 into main Feb 9, 2024
0 of 18 checks passed
@ddvlanck ddvlanck deleted the SDTT-266-Cannot-read-properties-of-null-reading-replace-at-removeCaret branch February 9, 2024 13:53
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

Successfully merging this pull request may close these issues.

2 participants