Bug 289399

Summary: caldav resources don't show up in korganizer
Product: [Frameworks and Libraries] Akonadi Reporter: Fabian Henze <flyser42>
Component: DAV ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aleh, dmitry, flyser42, greg, ip, kainonergon, leggis, maednoldor, mail, mkaelb, smartins, trouble
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fabian Henze 2011-12-20 00:56:35 UTC
+++ This bug was initially created as a clone of Bug #252838 +++

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


I experience this bug when trying to access my owncloud CalDAV calendar.
Shouldn't korganizer at least show a meaningful error message when this happens?
Comment 1 Grégory Oestreicher 2011-12-20 07:44:47 UTC
Hi Fabian,

Thanks for your report. There's a known problem with ownCloud that was discovered with bug 283252 (https://bugs.kde.org/show_bug.cgi?id=283252). There's nothing that can be done in the resource to work around this unfortunately.

Cheers,
Grégory
Comment 2 Fabian Henze 2011-12-20 11:01:07 UTC
But I *have* tried this with more than one event in my list, so that's not the same problem, right?

Regards,
Fabian Henze
Comment 3 Grégory Oestreicher 2011-12-20 12:08:48 UTC
If there are events in the ownCloud calendar that's indeed another issue. Do you see the calendars and events correctly listed in akonadiconsole?

Cheers,
Grégory
Comment 4 Fabian Henze 2011-12-20 12:20:38 UTC
No, akonadiconsole shows me an empty eventlist. I *can* see them with firefox though.
Comment 5 Grégory Oestreicher 2011-12-20 12:22:48 UTC
OK, I'll reproduce this (not immediately though). Which ownCloud version are you using? And have you used the wizard or configured the resource manually?

Cheers,
Grégory
Comment 6 Fabian Henze 2011-12-20 12:36:33 UTC
I am using Owncloud 2.0.1 with cherry-picked commit https://gitorious.org/owncloud/owncloud/commit/ef8826ac2d8438870e1bc42bf51cf28221461cb7
I am not sure what counts as wizard and what as manually, so I will describe what I did here:
From within korganizer I clicked right on the calendar list (on the lower left edge in my case), then chose "Add Calendar", "DAV groupware resource", entered username and password, "Configure the resource manually" and then added the resource in the dialog.
Comment 7 Grégory Oestreicher 2011-12-20 19:14:42 UTC
Hi Fabian,

I've just tested with this version and it's working fine, though I'm using master - what will become 4.8 in coming weeks.

The two configured URLs are:
- https://[myhost]/owncloud/apps/calendar/caldav.php/
- https://[myhost]/owncloud/apps/calendar/caldav.php/

If your owncloud instance is installed at your host root, you can remove the /owncloud part of each URL.

Cheers,
Grégory
Comment 8 Fabian Henze 2011-12-20 21:24:32 UTC
I tried the exact same urls (except for the /owncloud part, as you already noted^^) and it does not work. I guess I will wait for kde 4.8 and/or owncloud3 and see if it's fixed there.
Comment 9 Belomir 2012-02-12 10:46:10 UTC
kde 4.8, owncloud 3 (both are releases)

Unfortunally nothing changed.

After adding dav groupware resource pointed to akonadi and adding caldav and carddav resource korganizer don't show anything.
On opening properties of akonadi dav groupware there is carddav instead caldav with correct paths. It is strange…
Comment 10 Grégory Oestreicher 2012-02-26 19:13:30 UTC
Hi,

Just to be sure and rule out something I haven't thought about until now: is any of you using PageKite to access its ownCloud? For me it's working seamlessly with 4.8.0 and ownCloud 3, so I'm lost here…

Also, nothing shows up in your ~/.xsession-errors?

Cheers,
Grégory
Comment 11 Dmitry Roshchin 2012-03-07 20:16:34 UTC
Same bug this owncloud3, gmail and yandex caldav services. There are no errors in akonadiconsole.
Comment 12 Dmitry Roshchin 2012-04-17 09:24:52 UTC
It works fine if kde translation packages are not installed. And if i install kde4-ln10-ru caldav resources disappear in korganazer.
Comment 13 Dmitry Roshchin 2012-04-17 10:13:51 UTC
(In reply to comment #12)
Problem is caused by "akonadi_davgroupware_resource.mo" from kde-l10n-* package.
Comment 14 Jörg Walter 2012-05-02 20:53:46 UTC
I second this observation. Had the same problem with a tine20 server using the nds locale. Removing all instances of akonadi_davgroupware_resource.mo made the collection appear in kontact.

One observation I made is that previously, all CalDAV instances showed up as CardDAV when reopening the config dialog. Now they correctly appear as CalDAV.
Comment 15 Aleh 2012-08-26 22:27:39 UTC
Have the same like Belamir. After adding dav groupware resource in properties there is two carddav resources instead of caldav and carddav.

KDE 4.9 ownCloud 4.0.7
Comment 16 Mikael Bergqvist 2012-10-04 07:36:10 UTC
Same experience here, KDE 4.9.2, Owncloud 4.0.7: two carddav entries when reopening the resource. No calendar in Korganizer, until I remove all akonadi_davgroupware_resource.mo
Comment 17 Grégory Oestreicher 2012-10-18 07:38:16 UTC
Hi,

This is a dup of #298735 (at least for the new comments). I'll try to reproduce this issue with a translation package installed.

Cheers,
Grégory

*** This bug has been marked as a duplicate of bug 298735 ***
Comment 18 Ivan Platonov 2013-03-30 12:09:19 UTC
KDE 4.10.1 Russian language locale. Subject still actual. Resolved only by mv /usr/share/locale/ru/LC_MESSAGES/akonadi_davgroupware_resource.mo . as root