Bug 252838 - caldav resources don't show up in korganizer
Summary: caldav resources don't show up in korganizer
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: 1.0.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-30 11:01 UTC by Martin Tlustos
Modified: 2011-01-21 14:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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