Bug 393505

Summary: Unable to create new todo items (possibly due to multiple calendars?)
Product: [Applications] zanshin Reporter: Kenny D <kenny>
Component: generalAssignee: Kevin Ottens <ervin>
Status: RESOLVED WORKSFORME    
Severity: normal CC: mbensi
Priority: NOR    
Version First Reported In: 0.5.0   
Target Milestone: already done   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kenny D 2018-04-25 14:39:56 UTC
I am unable to create new todo items in zanshin, this works fine in KOrganizer todo

The problem might be related to having multiple CalDav calendars? In KOrganizer when creating a new todo I am prompted to pick where it should go
 
The error I get from zanshin is for example:

"Cannot add task test in Inbox: Invalid parent collection"
Comment 1 Kevin Ottens 2018-04-25 15:43:35 UTC
This is surprising, it should just "take the first one it can write to" by default or your favorite one if you selected such a thing (in the source view, select one and click the small star icon at the bottom).

I use it with several CalDav calendars just fine, so I wonder what's the root cause of your issue there. Could we somehow get an idea of what's displayed in your Sources tree?
Comment 2 Kenny D 2018-04-25 20:02:04 UTC
Setting one to favourite/default made the error go away \o/

I notice that it is now in bold, previously none were. Maybe that would be the issue?
Comment 3 Kevin Ottens 2018-04-26 06:00:43 UTC
That's the thing... it shouldn't since in that case it'd just pick a "random" one for you... but for some reason in your case it'd picked one it didn't like. I really wonder why.
Comment 4 Kenny D 2018-04-26 07:25:35 UTC
I have 2 enabled sources and one disabled, all from nextcloud

To see if it had previously tried to use the disabled one I disabled the one I have set to default but there was no error and it still created a new todo in that source. Does enabling/disabling only effect visibility of things in it?
Comment 5 Kevin Ottens 2018-04-26 07:41:10 UTC
Yes, it's really only about visibility. Could you try them one after another as default and see if it fails with any of those three?
Comment 6 Kenny D 2018-04-26 07:46:09 UTC
They all behave fine.

Is there anyway to unset a default source? I only seem to be able to change to a different one now I have one set
Comment 7 Kevin Ottens 2018-04-26 09:01:58 UTC
Yes, just kill the defaultCollection key in your zanshinrc config file.
Comment 8 Kenny D 2018-04-27 08:33:56 UTC
I have now tried deleting the default source a few times and it still seems to be creating tasks fine so I'm now a bit at a loss what the initial problem was hmm...
Comment 9 Kevin Ottens 2018-04-27 09:05:51 UTC
Yes, I'm at a loss what it could have been either... if we can't reproduce though we won't get closer to an explanation I'm afraid.
Comment 10 Kenny D 2018-04-27 09:10:01 UTC
yep, agreed
Comment 11 Justin Zobel 2022-11-21 08:22:13 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 12 Bug Janitor Service 2022-12-06 05:17:25 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Bug Janitor Service 2022-12-21 05:19:51 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!