getting-things-gnome / gtg

Getting Things GNOME! trunk
https://wiki.gnome.org/Apps/GTG
GNU General Public License v3.0
556 stars 164 forks source link

CalDAV only pulling tasks from calendar but not pushing ("has no calendar to be synced with") #892

Open amadeusp opened 2 years ago

amadeusp commented 2 years ago

Steps

The log says e.g.:

INFO - backend_caldav:_set_task:160 - <Task title="Test with specific CalDAV calendar in settings (P14s)" id="3c0826c7-4aa8-41d9-b45d-03bbd7bb8aac" status="Active" tags="[]" added="2022-05-06T09:07:54.711116" recurring="False"> has no calendar to be synced with

My system configuration

Do you have any idea what I could be missing or doing wrong? Many thanks for your help in advance! I would really love to move all my tasks to GTG. The app looks amazing! :)

jaesivsm commented 2 years ago

Hello, GTG supports connection to a CalDAV account which can hold several collections (holding themselves you tasks).

To know in which collection to put your task, you need to have a tag with DAV_{the name of your collection} on you task (or simply to create you task with one tag selected in the left panel).

amadeusp commented 2 years ago

Hi there and thanks a lot for your help!

I assumed from the settings in "Synchronization Services" > "CalDAV tasks" > "Tags to sync: All tasks" (instead of "Tasks with these tags...") that all tasks would be synced automatically and no special tag would be needed. But now I know better and am happy to transfer my tasks to GTG very soon. Thanks again!

amadeusp commented 2 years ago

Should I close the issue now?

jaesivsm commented 2 years ago

Not sure. It is something to be dealt with since the behavior isn't obvious. I believe it could also be fixed as described in that other issue. I would advise to leave the issue open and wait to be notified when it's closed by a patch.

amadeusp commented 2 years ago

Right, ok. Yeah, I agree. It is not ideal atm. Thanks again.

samyak-jain commented 2 years ago

I am facing the same issue. I am using nextcloud as my caldav server and the issue is if the collection already exists on the server, it is able to push the tasks succesfully. However, if the collection does not exist, it is not automatically creating the collection on the server.