Closed opal06 closed 10 months ago
Judging by the logs, in this problematic lists tasks have parent task, but parent is not exists in the list (they are orphaned and because of that - deleted). Errands can read all properties of the task like priority and completion percent. Can you write an example how to replicate this task list? Maybe try to create new list with same tasks and properties and look how it behaves.
In the meantime I'll make sure that orphaned tasks is not deleted and just remove their parent property
I have not been able to reproduce the issues on a new task list when trying different things like deleting a task with unfinished subtasks or deleting some subtasks etc. But I have been able to fix the issue on the "personal" list (have not tried the other one yet) by having Nextcloud delete all finished tasks. I think it is likely that one of these old tasks was corrupted and once it was removed, Errands was able to sync without issue. So it mainly seems to be an issue with the source, but adding a workaround that prevents one corrupted task from not syncing the whole list seems to be a good idea. Thank you for your support and feel free to close the issue.
Thank you for reporting the issue! I already added fix for this 22c5ca3.
First of all, thank you very much for this program. It really fills a gap for me!
Unfortunately, I am facing a sync bug when fetching some task lists from my Nextcloud instance. Errands connects to Nextcloud and fetches some lists without problems, but for two lists ("juni" and "personal" in the logs) shows no entries, although the list is not empty. From the logs (see below), it seems like it cannot find certain resources on the server. Now, these tasks exist and can be synced with e.g. the Tasks.org/DAVx5 app on my Android phone. I am not sure if this is coincidental or not, but these lists are the ones where I use more of Nextcloud Task's features like subtasks and the priority property as well as partial completion tracking. I was wondering if Errands has not yet implemented some of these things and therefore struggles to process the lists.
Here are the logs of my last start. I have redacted user names and the domain of the instance for privacy reasons, but that should not be relevant to the issue at hand. The lists with issues are "juni" and "personal". All others are synced as expected.