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

[BUG] Navigating to a deleted node causes websocket error #304

Open
Forge36 opened this issue Sep 24, 2023 · 0 comments
Open

[BUG] Navigating to a deleted node causes websocket error #304

Forge36 opened this issue Sep 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Forge36
Copy link

Forge36 commented Sep 24, 2023

Describe the bug

  1. After deleting a node the UI doesn't remove the node
  2. "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.

  1. Create a node
  2. Verify it's in the UI
  3. Delete in emacs (I'm using magit-file-delete)
  4. Click on node
  5. click the vertical dots "..." in the upper right
  6. click "open in emacs"
  7. See error in warning

Expected behavior

  1. The node should be removed from the UI when deleted (may be tricky)
  2. If the node cannot be found print a more useful message to the user about "node not found

What browser were you using?
Chrome

@Forge36 Forge36 added the bug Something isn't working label Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant