Bug 252838

Summary: caldav resources don't show up in korganizer
Product: [Frameworks and Libraries] Akonadi Reporter: Martin Tlustos <martin.tlustos>
Component: DAV ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: greg, mail, smartins
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Tlustos 2010-09-30 11:01:06 UTC
Version:           0.9 (using KDE 4.5.1) 
OS:                Linux



Reproducible: Always

Steps to Reproduce:
- Define a Caldav resource either from within korganizer or in akonadi, 
- fill in required information, 
- change server address where necessary, 
- select collection (it's always just one, at least with google calendars)
- Click ok
- change the name of the resource to what you want
- click ok.

Actual Results:  
akonadi syncs the collection fine (at least it says so), no matter whether there are several collections or only one, but nothing shows up in korganizer

Expected Results:  
I should be able to view, change and add events

OS: Linux (x86_64) release 2.6.32-25-generic
Compiler: cc
Comment 1 Aitor 2011-01-06 21:49:03 UTC
I have the same problem here.
Calendars are shown if I use GroupDAV but they don't appear any more if CalDAV is chosen.

Kde 4.6.rc2
KOrganizer 4.6.beta3
Comment 2 Grégory Oestreicher 2011-01-15 21:50:12 UTC
Hi,

I'm unable to have this issue with kdepim 4.6 beta 4, can you give it a try?

Cheers,
Grégory
Comment 3 Aitor 2011-01-16 15:12:30 UTC
No progress. CalDAV resource is listed as an agent in akonadi console, but it's not even listed on the browser tab. I'm using eGroupware resources.
Comment 4 Sergio Martins 2011-01-16 15:48:06 UTC
I tried connecting to a DAVIcal server ( http://caldav-test.ioda.net/ )

"""
The base uri is like this
http://caldav-test.ioda.net/caldav.php/[username]/home/
The superguy login is the following : superman, password : ioda09
"""

It doesn't retrieve any collections when I make it sync the collection tree, in akonadiconsole.
Comment 5 Sergio Martins 2011-01-16 16:57:05 UTC
It's working now. I had an "/" in my hostname.
Comment 6 Grégory Oestreicher 2011-01-16 19:29:07 UTC
Hi,

Aitor, can you try with the following URL for your eGroupware CalDav resource: https://<yourhost>/groupdav.php/principals/users/<yourlogin>/ ? I guess that you used the /groupdav.php/ url as I did before, which leads to strange results. As now there is a support for principals URLs, we should spread the word :)

Martin, I'm still trying to reproduce this with Google calendars. Can you have a look in akonadiconsole at the collections that were discovered? Are they here, are there events in them, etc.

Cheers,
Grégory
Comment 7 Aitor 2011-01-16 21:20:00 UTC
Thanks Grégory, korganizer now shows the resource correctly.
Comment 8 Martin Tlustos 2011-01-20 09:07:53 UTC
Sorry for delaying so long, I had removed the experimental packages (because of problems in the upgrade process to 10.10) and reinstalling took a while.
I tested google calendars with caldav and multiple collections (5 google calendars in one akonadi resource) - and it works! Not straightaway, I had to restart, then open the caldav resource and delete a davical resource that somehow had been added, but then it showed up in korganizer.
Congratulations, and thank you!
Cheers,
Martin
Comment 9 Grégory Oestreicher 2011-01-20 21:56:52 UTC
Thanks to you both for confirming that it's resolved. Closing.
Comment 10 Martin Tlustos 2011-01-21 11:56:54 UTC
There is one small problem: after adding a collection and closing the resource, when I reopen it, I find that there is a second collection added that follows the Davical template entry. I have to delete the second one that has been added automatically and close the editing box for korganizer to be able to display my resource.

Steps:
add groupdav resource
use davical template
add my info
click on "add collection"
select collection
click ok on collection dialogue
click ok on resource dialogue
click ok on akonadi settings
reopen
you will find a second collection with standard entries
remove and save
then it displays in korganizer
Comment 11 Grégory Oestreicher 2011-01-21 14:35:13 UTC
Hi Martin,

Can you create a new bug report against the dav resource to track this issue? I'll test this tonight or this week-end.

Thanks,
Grégory