Skip to content
Commit a81eb36d authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

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.

BUG: 305584
FIXED-IN: 4.9.3
parent 811252f7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment