[Kde-pim] Akonadi Synchronous Job Error

Volker Krause vkrause at kde.org
Fri Feb 20 12:23:48 GMT 2009


On Friday 20 February 2009 13:02:57 Douglas Harms wrote:
> I'm working on kpilot and have encountered a behavior problem in
> akonadi.  For various reasons there are times when we attempt to delete
> an akonadi item (calendar or todo) that doesn't exist.  job->exec()
> returns false (as it should).  When we process the next record (e.g.,
> delete a record that is in akonadi) job->exec() returns true (which it
> should) but it doesn't actually delete the item.  As you might imagine,
> this messes us up.
>
> We can easily solve this by not trying to delete an akonadi item when we
> know it's not there; however, we wanted to bring this up for discussion
> on this list to see if perhaps there is a larger bug in akonadi that
> should be addressed.

Are you deleting within a transaction maybe? If there is an error within a 
transaction, no change made within it will persist, like in database systems.
If that should happen for usually harmless errors like deleting a non-existing 
object is a different question though.

regards
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20090220/14f5c66d/attachment.sig>
-------------- next part --------------
_______________________________________________
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