[Bug 305584] Calendar resource does not handle Akonadi::PayloadException
Dan Vrátil
dvratil at redhat.com
Mon Oct 22 14:09:44 BST 2012
https://bugs.kde.org/show_bug.cgi?id=305584
Dan Vrátil <dvratil at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Version Fixed In| |4.9.3
Resolution|--- |FIXED
Latest Commit| |http://commits.kde.org/kdep
| |im-runtime/a81eb36d7db664dc
| |7615addf0cd28fb6e0cb663a
--- Comment #10 from Dan Vrátil <dvratil at redhat.com> ---
Git commit a81eb36d7db664dc7615addf0cd28fb6e0cb663a by Dan Vrátil.
Committed on 22/10/2012 at 14:54.
Pushed by dvratil into branch 'KDE/4.9'.
Verify payload type before calling Akonadi::Item::payload()
Apparently Akonadi sometimes sends us Item with an invalid
or empty payload, so direct access to it throws PayloadException.
The only place where we can't use hasPayload() is in itemRemoved()
since removed items don't have payload.
FIXED-IN: 4.9.3
M +4 -4 resources/google/calendar/calendarresource.cpp
M +5 -0 resources/google/calendar/resource_tasks.cpp
http://commits.kde.org/kdepim-runtime/a81eb36d7db664dc7615addf0cd28fb6e0cb663a
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Kdepim-bugs
mailing list