[Kde-pim] Re: Akonadi update conflicts

Sérgio Martins iamsergio at gmail.com
Fri Jul 1 11:29:43 BST 2011


On Tuesday, June 28, 2011 5:03:02 David Jarvie wrote:
> I notice that in kdepim-users list, there have been some complaints about
> the Akonadi conflict resolution dialog appearing in kmail. Users don't
> necessarily understand what this is for, or how to select which option to
> choose.
>
> Previously in KAlarm, I found that I couldn't avoid frequent conflict
> resolution dialogs which occurred due to updates in quick succession not
> being handled in strict order, and in the end had to disable revision
> checking and implement a queueing mechanism, which seems to work.

It can also happen if the application has Akonadi::Item 's all over the place
in memory, and forgets to update them whenever the item changes in the server
side.

Then, when it executes an ItemModifyJob on one of these old Items, you'll see
the conflict dialog, because the item doesn't have the latest revision.

In Korg we store mostly Item::Id 's, then when we need the item we ask
the calendar, which has all the items and keeps them updated.



-- 
Regards,
Sérgio
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list