WHAT IS THE BUG
app goes all black, relations disappear from types, names of types get lost
HOW TO REPRODUCE IT
- Create types named A, B
- Create relation on A of type object allowing B
- Create objects of A as a and B as b and fill the relation a → b
- Change type of b to something else
- Edit relation on a, hover over “limit object types”
- Screen goes blank, app needs a kill
- After restart the names of all manualy created types change to “Untitled”, relations defined for all types are gone
THE EXPECTED BEHAVIOR
No creash, names of types remain as I enter them. Relations of types remain as defined.
SYSTEM INFORMATION
-
OS:
Linux debian 6.1.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.7-1 (2023-01-18) x86_64 GNU/Linux -
Device:
Desktop / Intel(R) Core™ i7-6700 CPU @ 3.40GHz -
Anytype Version:
0.30.0
ADDITIONAL CONTEXT
- There was no object of type B left when the error first occurred
- I see this error repeatedly in the logs since the defect appeared:
{“level”:“error”,“ts”:“2023-01-27T19:32:12.784+0100”,“logger”:“anytype-localstore”,“caller”:“objectstore/objects.go:2337”,“msg”:“GetObjectType failed to get relation key from id: datastore: key not found (rel-aperture)”}