You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG] accessing r.properties.ROAM_REFS causing client crash due to r.properties being null, caused by passing local variable that changes major-mode #318
Describe the bug
Accessing r.properties.ROAM_REFS causing client crash due to r.properties being null. This can happen if you have put local varibles like following:
# Local Variables:
# mode: sh
# sh-shell: tcsh
# End:
in one of your org-roam note 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.
add the
# Local Variables:
# mode: sh
# sh-shell: tcsh
# End:
to one of the org-roam note
2. call org-roam-ui-mode
3. see the crash in your openned browser, together with the error cannot access r.properties.ROAM_REFS, r.properties is null
Expected behavior
It should not crash the whole client. Maybe an empty note or an error message on screen like "WOW, an image", "WOW, no properties drawer".