Bug 288869 - If backend is unavailable local cache is hosed
Summary: If backend is unavailable local cache is hosed
Status: RESOLVED NOT A BUG
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-13 07:45 UTC by Thomas Tanghus
Modified: 2011-12-20 20:46 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 Thomas Tanghus 2011-12-13 07:45:31 UTC
I have a CalDAV and a CardDAV resource which both points to a remote ownCloud instance. If the server doesn't respond for a while I set the resources to offline to avoid annoying notifications.
If Akonadi is restarted the local cache is trashed and the resources wont sync when I set them to online again. The only solution afaik is to delete the resources and add them again.

Regarding the version asked for when adding this bug I presumed it was the KDE version. I don't know how to query the version of the resources, but akonadictl reports 'Akonadi 1.6.2'. I'm on KDE 4.7.3.
Comment 1 Grégory Oestreicher 2011-12-20 19:24:45 UTC
Hi Thomas,

I've tried to reproduce this issue by blocking access to my owncloud instance, setting the resource offline, restarting akonadi, and finally setting the resource back online. Everything is working fine here with this scenario, and the events added in owncloud while it was unavailable for the resource are correctly fetched on the next upgrade.

Are there some steps I've missed?

Cheers,
Grégory
Comment 2 Thomas Tanghus 2011-12-20 20:46:52 UTC
Hi Grégory

As it often happens when you report an issue, it goes away right away :-P The resource has been working flawlessly since.
Sorry you went through the trouble for no reason, I had forgotten about this report.