Bug 357130 - Not able to enable or add todo collection (existing (sub)calendar on ownCloud server)
Summary: Not able to enable or add todo collection (existing (sub)calendar on ownCloud...
Status: RESOLVED INTENTIONAL
Alias: None
Product: zanshin
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR grave
Target Milestone: already done
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-24 21:01 UTC by Matija Šuklje
Modified: 2016-04-18 05:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Choosing Akonadi Accounts (142.95 KB, image/png)
2016-04-17 18:35 UTC, Alex Ander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matija Šuklje 2015-12-24 21:01:31 UTC
In the Sources pane I don’t have all the calendars/sources that exist. This might be due to me adding, hiding etc. sources in the beta where buttons were not that transparent at what they do.

But now that I want to add/enable/show those sources, I don’t seem to be able in any way. There is no button, no right-click menu, nothing useful in the Settings menu, nothing I can find.

Reproducible: Always

Steps to Reproduce:
1. Try to add/show/enable (re)source of todos in the Source pane
2. Try right-clikcing on it
3. Check the Settings menu

Actual Results:  
not being there

Expected Results:  
being there :)

Mageia 5
KDE 4.14.5
Zanshin compiled from Git from commit 40b0ee611b74cda9a07a57339ce2bbbeff755352 (a.k.a. 0.3_rc1)
Comment 1 Kevin Ottens 2015-12-28 06:48:09 UTC
Right, that feature has been removed between the beta and the RC, it was deemed not mature enough during user testing of the beta. It might get reintroduced later. Indeed, if you played with it during beta you probably want to "unhide" everything. That can be done using the following SQL command in akonadiconsole's DB Console tab:
UPDATE collectiontable SET enabled = 1;

That should unblock you for now.
Comment 2 Alex Ander 2016-04-15 13:55:04 UTC
I used a 0.3.1 (hope, it's a release), and in the Akonadi's "collectiontable" all "enabled" are set to 1 (I haven't changed nothing, it was so), but I still can't add no own collection.
Comment 3 Kevin Ottens 2016-04-15 14:39:54 UTC
Right, adding collections is a different thing and not supported yet. Clearly a missing feature (I'm not reopening just because it's tracked on our roadmap, it'll appear at some point and I'd like this report to be more about the enable/disable issue you had initially).
Comment 4 Alex Ander 2016-04-15 18:47:20 UTC
(In reply to Kevin Ottens from comment #3)
> Right, adding collections is a different thing and not supported yet.

May be you should also remove it from settings (menu->settings->configure Zanshin todo), as it's so confusing seeing my collections from akonadi and not able to use them. 
Just a thought, not a request.
Comment 5 Kevin Ottens 2016-04-17 16:15:10 UTC
Hm, hold on... there is something else then. From the dialog you are mentioning one can add/remove resources to Akonadi. Said resources can expose one or more collections.

Are you saying that you added a resource here but don't see any of its collections in Zanshin? That looks wrong indeed, but sounds like a bug in the resource I would say.
Comment 6 Alex Ander 2016-04-17 18:34:45 UTC
(In reply to Kevin Ottens from comment #5)
> Are you saying that you added a resource here but don't see any of its
> collections in Zanshin? That looks wrong indeed, but sounds like a bug in
> the resource I would say.

Actually, there were already resources, that I added before for Kontact. And they are able to be chosen. I thought, choosing them should add them to Zanschin, as data sources. But choosing them change nothing in Zanshin.
Comment 7 Alex Ander 2016-04-17 18:35:30 UTC
Created attachment 98431 [details]
Choosing Akonadi Accounts

Demonstrating Resources from Akonadi, accessible via Menu->Settings->Configure Zanshin ToDo...
Which are also chooseable, but it doesn't affect Zanschin after closing the dialog.
Comment 8 Kevin Ottens 2016-04-17 20:04:57 UTC
Selection in this dialog has no impact on what you see as sources. It's really meant to add/remove resources only.

Now if you got those resources and see nothing in Zanshin's sources panel, there's a problem somewhere... I suspect something is off with the mimetypes of the collections of those resources or something similar. Zanshin lists only collections with the application/x-vnd.akonadi.calendar.todo mimetype.
Comment 9 Alex Ander 2016-04-17 21:43:04 UTC
Interesting, but actually there were only one resource, which contained collection with needed mimetype. I tried to clear all (also the local calendar) out and to add only one resource. First was owncloud, then tried the same with google. Akonadi Console showed, that google as well as owncloud folders had a collection with application/x-vnd.akonadi.calendar.todo mimetype,  but still Zanschin showed nothing. I tried also to restart it after changing collections, and tried to add a resource trough this dialog, accessible via Zanschin's menu, but couldn't change anything in the App.

It it possible hier to fork our discussion to a new bug report, as it seems to be another bug?
Comment 10 Kevin Ottens 2016-04-18 05:04:57 UTC
Yes, I was about to propose the them. Please open another report it's clearly something very different. Note that I can't seem to reproduce it here though.