I’ve created a custom template for my “task” object. In that template I’ve created a couple of “object” relations and I chose to specify the type of those relations to “task”. Everything is fine and it saves and I can create a new task with this template without any problem either from my tasks set or from within a page by the command line.
The problem is after some time, probably a couple of minutes, that object relation looses the specific type of object that I’ve been specified for it; in this case the task type. No matter how many times I go back to the template and choose the type again, the same problem will appear. I haven’t faced this particular problem with other objects and the relations I create based on them.
HOW TO REPRODUCE IT
go to the default task object type.
create a new template with an object relation.
specify the type of that object.
create a new task based on the new template.
wait for a couple of minutes, maybe half an hour.
try to create a new task based on the template.
check the relation to see the specified type of the object is gone.
I’ve tried multiple times to edit Relations of Type “Object” to be linked to a specific Object Type to make it easier to select the correct Objects (of that Type). Unfortunately, after a restart, the changes are undone.
HOW TO REPRODUCE IT
Locate an Object Type with the Relation you would like to change
Create a new Object with this type and see that the Relation search results are properly filtered
Close Anytype (Quit)
Start Anytype
Create another Object of the same Type
See that the Relation filter is gone. Objects of all Types are shown again
THE EXPECTED BEHAVIOR
The change I made to be persistent across restarts.
SYSTEM INFORMATIONS
OS:
Windows 11
Device:
Dell XPS 15
Anytype Version:
0.29.30-beta
ADDITIONAL CONTEXT
I have the feeling (but I cannot reproduce it yet) that the removal of Types also is not always persistent. I have already deleted the built in Task type once, and I had to do it again today.
My issue is slightly different from the op’s issue (changes to Relations discarded vs added Relations gone) but I experience both issues and they might be related.