[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 283954] Only resources can modify remote revisions
From:       Grégory Oestreicher <greg () kamago ! net>
Date:       2012-03-12 20:15:12
Message-ID: bug-283954-17878-d2Wnv0ILyo () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=283954

--- Comment #9 from Grégory Oestreicher <greg@kamago.net> ---
After some debugging on this issue today it seems that the problem is that
Korganizer is not using the latest item known to Akonadi, at least in what
concerns the remote revision. If you try to edit the item directly after
starting Korg then everything will be fine. Any further edit in the same
session will fail as the item known to Korg is never refreshed and the remote
revision is now out of date (the dav resource will always fetch the latest
remote revision behind the scenes). When the following edits are done Korg
tries to set the remote revision to what it was, which is rejected by Akonadi.

One solution would be that Korg updates the cached item once EventOrTodoDialog
completes (haven't found how to do this easily, apparently this would require
updating the incidenceeditor-ng to add a signal), or have Akonadi notify Korg
that the remote revision has changed.

I'm not sure I'll have some time soon to look into this, so if anybody want to
pick this up he'll be more than welcome.

Cheers,
Grégory

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic