GNOME Bugzilla – Bug 773836
Tasks added via 'Unscheduled panel' goes to nowhere
Last modified: 2017-03-01 14:14:49 UTC
Tasks added via 'Unscheduled Panel' doesn't go to 'Personal' (or any other) list. Also, the task isn't retained on restart of GNOME todo.
I can confirm this issue. It also causes a warning message printed by gnome-todo: ** (gnome-todo:1488): CRITICAL **: gtd_provider_create_task: assertion 'GTD_IS_PROVIDER (provider)' failed
Created attachment 346318 [details] [review] unscheduled-panel: fix task loss issue The tasklist used by the unscheduled panel does not have an associated provider. This generates an error when attempting to create a task. In order to fix this, do not explicitly set a task list for the view. In this way, the default provider will be used, just like in the other plugins.
Review of attachment 346318 [details] [review]: Thanks for the contribution! At a first glance, the code looks good. However, there is a problem with it: it's malformed, and I couldn't test it... Looking at it, I see no git headers. Make sure to attach a valid patch (let me know if you need any help with that). Alternatively, you can use git-bz and automate this process :)
Hi! I've tried running "git bz apply 773836" and it worked for me locally. I'm not sure I understand what the problem is.
Created attachment 346968 [details] [review] unscheduled-panel: fix task loss issue The tasklist used by the unscheduled panel does not have an associated provider. This generates an error when attempting to create a task. In order to fix this, do not explicitly set a task list for the view. In this way, the default provider will be used, just like in the other plugins.
Review of attachment 346968 [details] [review]: Looks very good to me, thanks!
Thanks for the patch! Attachment 346968 [details] pushed as b71faa9 - unscheduled-panel: fix task loss issue