Give more details in the LLCONFLICT error.
ClosedPublic

Authored by dfaure on Dec 16 2017, 9:08 AM.

Details

Summary

Admittedly this is not very useful to end users, but it is useful to any
app developer using akonadi.

Example from zanshin:

Cannot deparent task child from its parent: [LLCONFLICT] Resource
akonadi_icaldir_resource_0 tries to modify item 641403
(82d006fc-af0d-40cb-8bbe-a7ff75556358) (in collection 1003) with
revision 5; the item was modified elsewhere and has revision 6, aborting STORE.

Test Plan

Deparenting a task in zanshin's workday view triggered
this error, due to firing up two ItemUpdateJobs in parallel.

Diff Detail

Repository
R165 Akonadi
Branch
better_error (branched from Applications/17.12)
Lint
No Linters Available
Unit
No Unit Test Coverage
dfaure created this revision.Dec 16 2017, 9:08 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptDec 16 2017, 9:08 AM
dfaure requested review of this revision.Dec 16 2017, 9:08 AM
vkrause accepted this revision.Dec 16 2017, 10:17 AM
This revision is now accepted and ready to land.Dec 16 2017, 10:17 AM
dfaure closed this revision.Dec 17 2017, 7:33 PM