org-roam-ui
org-roam-ui copied to clipboard
[BUG] Navigating to a deleted node causes websocket error
Describe the bug
- After deleting a node the UI doesn't remove the node
- "Open in emacs" will then show an
errr
in "Warnings"
■ Error (websocket): in callback `on-message': Wrong type argument: org-roam-node, nil
To Reproduce Which specific things did you do which lead to said bug? E.g. what did you click, which commands did you call, etc.
- Create a node
- Verify it's in the UI
- Delete in emacs (I'm using
magit-file-delete
) - Click on node
- click the vertical dots "..." in the upper right
- click "open in emacs"
- See error in warning
Expected behavior
- The node should be removed from the UI when deleted (may be tricky)
- If the node cannot be found print a more useful message to the user about "node not found
What browser were you using? Chrome