edgedb-ui icon indicating copy to clipboard operation
edgedb-ui copied to clipboard

Dumping a lot of data breaks things

Open Jengamon opened this issue 3 years ago • 2 comments

Right now I'm using edgedb-python to dump a lot of data at once, so mysteriously, the amount of object types I get go from 3 (which corresponds to my schema) to 53 (??) in the UI, and the error at the bottom occurs whenever I head to the UI to inspect the schema.

The database part still works fine though, I just can't use the UI to inspect.

TypeError: undefined is not an object (evaluating 'e.name.localeCompare')

Traceback:
@http://localhost:10700/ui/static/js/main.eb402365.js:2:1347905
sortMerge@[native code]
sortMergeSort@[native code]
sort@[native code]
get@http://localhost:10700/ui/static/js/main.eb402365.js:2:1347876
lt@http://localhost:10700/ui/static/js/main.eb402365.js:2:451978
@http://localhost:10700/ui/static/js/main.eb402365.js:2:450169
@http://localhost:10700/ui/static/js/main.eb402365.js:2:450024
@http://localhost:10700/ui/static/js/main.eb402365.js:2:449262
at@http://localhost:10700/ui/static/js/main.eb402365.js:2:451529
@http://localhost:10700/ui/static/js/main.eb402365.js:2:456384
Nt@http://localhost:10700/ui/static/js/main.eb402365.js:2:457893
wu@http://localhost:10700/ui/static/js/main.eb402365.js:2:326116
At@http://localhost:10700/ui/static/js/main.eb402365.js:2:457666
jt@http://localhost:10700/ui/static/js/main.eb402365.js:2:454802
Ge@http://localhost:10700/ui/static/js/main.eb402365.js:2:445864
Qe@http://localhost:10700/ui/static/js/main.eb402365.js:2:445403
fetchSchemaData@[native code]
u@http://localhost:10700/ui/static/js/main.eb402365.js:2:522410
n@http://localhost:10700/ui/static/js/main.eb402365.js:2:540781
promiseReactionJob@[native code]

Jengamon avatar Sep 15 '22 01:09 Jengamon

select count(schema::Type[is schema::ObjectType]);

returns

{55}

so idk

Jengamon avatar Sep 15 '22 01:09 Jengamon

This goes away in chrome, as I was testing in Safari 16.

Jengamon avatar Sep 15 '22 02:09 Jengamon