Review Request 129346: Do not assert in dav resource calling ResourceBase::collectionsRetrieved from custom job

Martin Koller kollix at aon.at
Sun Nov 6 09:04:30 GMT 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129346/
-----------------------------------------------------------

Review request for Akonadi and Daniel Vrátil.


Repository: akonadi


Description
-------

ResourceBase::collectionsRetrieved assumes it must be called from either a Sync or SyncAll task.
The dav resource however does this from a Custom task.

Therefore the dav resource always crashes (asserts) in a debug build.

This patch simply also allows the Custom Task.


Diffs
-----

  src/agentbase/resourcebase.cpp 64be61e 

Diff: https://git.reviewboard.kde.org/r/129346/diff/


Testing
-------


Thanks,

Martin Koller

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20161106/f3f9a8c9/attachment.html>


More information about the kde-pim mailing list