issue-277 few null checks to avoid crash when node went under bottom … #384
Conversation
| @@ -275,6 +275,9 @@ export class DiagramEngine extends BaseEntity<DiagramEngineListener> { | |||
| } | |||
|
|
|||
| getNodeElement(node: NodeModel): Element { | |||
| if (!this.canvas) { | |||
DanieLazarLDAPPS
Aug 7, 2019
•
Author
Contributor
When the node is under the bottom of the screen canvas is null.
When the node is under the bottom of the screen canvas is null.
|
LGTM |
|
Are you able to port these fixes to the new 6.0 version? |
|
Yeap I will |
a978a9a
to
264c74e
|
Hi @dylanvorster, well I migrated fixes to 6 version but unfortunately, it won't help. Please check following gif how to reproduce this error. The problem is in PathFinderLinkWidget. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.


Checklist
yarn run prettyWhat?
Issue with smart routing
Why?
Because of this issue
#277
How?
I just went thru errors reported by the console and I added few null checks and it fixed that issue. But I have no idea if there will be some deeper dependency so please check it out. Thank you
Feel-Good "programming lol" image:
(Add your own one below :])