Closed johannesmono closed 3 months ago
Having the same issue. This only seems to happen when switching from a remote collection to any other collection (local or remote).
Thanks @johannesmono & @lore-emu , I have reproduced the issue and reviewed the code but it is not yet obvious, I need to continue debugging the issue. I'm just super busy those days, so please be patient.
Sorry that it took a bit, I found the issue, it's really strange that this suddenly appeared as the part of the code didn't change. Still a small change was needed to make it work properly again, so probably it was a change in a library that caused it... I'll add the fix in the current beta which will be released soon.
The bug seems to still be happening on the version that was just released (both on 2.7.7.ose and on 2.7.7.gplay). Is that expected?
Hi, sorry, I checked it and it was solved for me, I will reopen this ticket and check again.
Hi @johannesmono , sorry that this took I while, it was really a tough one. The problem was that the current entry was saved and moved in different coroutines. If the saving was completed after the moving, then the saving overwrote the logical deletion... But as those coroutines have their own priorities, it was pretty random which one was done first. That's why it was so hard to reproduce it.
However, I hope with the change it's fixed for good!
Describe the bug When adding a task and changing the collection, the current state of the tasks get saved to the previously selected collection. This also happens with an empty task.
To Reproduce
Expected behavior No additional task is created.
Device and version