Describe the bug
Changes to stored global Relation properties (ones that persist and are “memorized” across multiple Objects), such as:
- “Restrict Object type” within the Object Relation
- Statuses stored within Status Relation
- Tags stored within Tag Relation
- for example, there have been reports of changes to a Tag’s color is reverted upon restart Tags memorized within a relation seem inconsitent
… are discarded upon the app restarting. I believe this has been in the app since I first started using it - it’s been here for a long time.
The changes that causes this bug can be deletion, and modification. All the changes will be rolled back upon an app restart.
To Reproduce
Steps to reproduce the behavior:
- Create a new Relation that supports global state, such as the ones I’ve listed above.
- Add a new global state. Some examples are listed above (e.g, adding a new Tag, or adding a new Object type restriction)
- Use the newly created Relations for a while, by adding them to a Type and creating various Sets and Objects from that type.
- After sufficient usage of the Relation, try to modify the global stored state of it. Examples might be deleting a Tag, changing the color of a Status, or adding new Object restrictions.
- Restart the app. The changes should be reverted.
Expected behavior
I expected changes I’ve made to a Relation’s global state to be accurately reflected across all Objects with that relation (which seems to be the cause of the issue), and for it to persist upon an app restart.
System Information:
- OS: MacOS 12.5
- Device Manufacturer/Model: MacBook Air M1
- Anytype Version: 0.27.0, although this has been in the app for about a year.
Additional context
There’s a few bug reports here that appear to show the same bug, but are only limited to Tags, and do not expand the scope to all Relations that contain stored global state.
Additionally, here’s a video showcasing this issue. Note that in the video, one of the tags are revived even though the app was not restarted.
BTW, file uploads need to be fixed on the forums. A 18MB video file fails to upload with the error “Sorry, this file is too big.”