Bug 310172 - caldav & carddav don't work with ownCloud 4.5.1
Summary: caldav & carddav don't work with ownCloud 4.5.1
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: 4.9
Platform: openSUSE Linux
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-15 20:17 UTC by Andre
Modified: 2014-09-05 20:35 UTC (History)
1 user (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 Andre 2012-11-15 20:17:28 UTC
There is no calendar synchronization. CarDAV resource not even in the calendars list. The URL for calendar is correct and functional.
CardDAV works strange. I can import my google contacts into kontact's cardDAV calendar, then they do appear in ownCloud. But after editing a field in a contact all items disapear from the kontact's list. Contacts imported directly into owncloud aren't shown in kontact.
Reproducible 100% in my enviroment:
openSUSE 12.2
KDE 4.9.3
ownCloud 4.5.1 from susestudio
Comment 1 Grégory Oestreicher 2012-11-21 14:19:12 UTC
Is this happening since you upgraded to KDE 4.9.3, or since OwnCloud 4.5.1?
Comment 2 Andre 2012-11-21 16:24:31 UTC
(In reply to comment #1)
> Is this happening since you upgraded to KDE 4.9.3, or since OwnCloud 4.5.1?
It is all fresh install
Comment 3 Grégory Oestreicher 2012-11-21 20:10:19 UTC
Using the exact same versions I have no issues accessing my calendar, and editing contacts.

Have you used the wizard when creating the resource or have you configured the URLs manually? If it's the later can you give what you used?
Comment 4 Andre 2012-11-22 06:34:15 UTC
(In reply to comment #3)
> Using the exact same versions I have no issues accessing my calendar, and
> editing contacts.
> 
> Have you used the wizard when creating the resource or have you configured
> the URLs manually? If it's the later can you give what you used?

Wizard uses older versions of ownCloud URLs so I'm using manual config:
http://owncloud.MySite.domain/remote.php/caldav/
http://owncloud.MySite.domain/remote.php/carddav/

How can I debug this issue by my self to help you getting more info?
Comment 5 Grégory Oestreicher 2012-11-22 10:30:13 UTC
Thanks for the new URLs, I'll test those. In the meantime you should be able to have a working setup by using the wizard. I did just that and it's still working fine.
Comment 6 Andre 2012-11-22 10:52:17 UTC
Bug with CalDAV is easy to reproduce in my eviroment. Please tell me where should I look for debug info.
Comment 7 Andre 2012-11-22 10:55:21 UTC
By the way I'm gonna install owncloud by my self from official repos, not from susestudio appliance. So there will be ownCloud 4.5.2.
Comment 8 Grégory Oestreicher 2012-11-22 12:39:16 UTC
To get the debug infos I recompile the resource in debug mode (with the cmake flag -DCMAKE_BUILD_TYPE=Debug), and then activate all debug output with the command kdebugdialog. I also tend to add some code to produce additional output when debugging (such as the XML data exchanged, and stuff like that).
Comment 9 Grégory Oestreicher 2012-11-22 21:50:12 UTC
I just did some tests and I can't reproduce these issues. Given your email address I guess that you're using a Russian localized version of KDE. If that's the case, and given that there's apparently an issue in this case (see https://bugs.kde.org/show_bug.cgi?id=298735), could you temporarily switch to English and re-test. And I just noticed you also commented on that bug :)

Thanks,
Grégory
Comment 10 Andre 2012-11-26 19:19:37 UTC
Couldn't test with ownCloud 4.5.2 due to it`s errors so using the old one.
The case with calendar really depends on language. Created new user account with English by default. CalDAV resource works fine. This part goes to https://bugs.kde.org/show_bug.cgi?id=298735.
But CardDAV still the same. It seems to me there is some contacts is my address book that ruins it all. I tried import just one the most suspicious  and it worked flowelesly.
Comment 11 Grégory Oestreicher 2014-09-05 20:35:42 UTC
Works fine with recent OC releases, closing.