Skip to content

Bug: Surrealist does not clean deleted record graph connections #1147

Description

@LeonHammerla

Describe the bug

When i delete an edge table, surrealist still shows the connections in the in/out tables. When clicking on one of these connections, surrealist crashes (version 3.7.2):

t.map is not a function. (In 't.map((n,r)=>o.jsxs(G,{gap:"xs",wrap:"nowrap",children:[o.jsx(V,{path:l_,size:"lg"}),o.jsx(k2,{value:n})]},n.toString()))', 't.map' is undefined)

HV@tauri://localhost/assets/index-CxSFxLHn.js:657:955
qf@tauri://localhost/assets/mantime-iUE394EA.js:82:16999
$d@tauri://localhost/assets/mantime-iUE394EA.js:84:3141
sw@tauri://localhost/assets/mantime-iUE394EA.js:84:39755
Nk@tauri://localhost/assets/mantime-iUE394EA.js:84:39683
Pl@tauri://localhost/assets/mantime-iUE394EA.js:84:39536
Ud@tauri://localhost/assets/mantime-iUE394EA.js:84:35903
nw@tauri://localhost/assets/mantime-iUE394EA.js:84:34854
C@tauri://localhost/assets/mantime-iUE394EA.js:69:1553
M@tauri://localhost/assets/mantime-iUE394EA.js:69:1912
@tauri://localhost/assets/polyfills-B9NMj3UZ.js:1:35816
Xy@tauri://localhost/assets/polyfills-B9NMj3UZ.js:1:35566
Zy@tauri://localhost/assets/polyfills-B9NMj3UZ.js:1:35629

Steps to reproduce

create edge table and delete

Expected behaviour

connections disappear in source tables.

Surrealist Environment

...

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions