https://bugs.kde.org/show_bug.cgi?id=528882

Allen Winter <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/pim/ |https://invent.kde.org/pim/
                   |akonadi/-/commit/2ba8cbde16 |akonadi/-/commit/519fe7b0cc
                   |8fc3c9e22ed0411c7953a69e889 |7fcc51419891fe24980bf72aa7b
                   |19a                         |d6a

--- Comment #4 from Allen Winter <[email protected]> ---
Git commit 519fe7b0cc7fcc51419891fe24980bf72aa7bd6a by Allen Winter.
Committed on 23/11/2026 at 18:55.
Pushed by winterz into branch 'release/26.12'.

Restore missing MIME type before applying item update

Changing a to-do date from the calendar view's to-do side pane can trigger an
item update where the cached target item has no MIME type.

`ItemSerializer::apply()` then selects the generic `QByteArray` serializer even
though the incoming payload contains a typed incidence, causing a payload type
mismatch and crashing KOrganizer/Kontact.

Restore the missing MIME type from the incoming item before validating the
items and selecting the serializer.

A regression test covering `Item::apply()` with a missing target MIME type is
included.

Tested with:

`ctest --test-dir build -R itemtest --output-on-failure
100% tests passed, 0 tests failed`


(cherry picked from commit 2ba8cbde168fc3c9e22ed0411c7953a69e88919a)

3b698dad Restore missing MIME type before applying item update

Co-authored-by: Lars Kaderali <[email protected]>

M  +14   -0    autotests/libs/itemtest.cpp
M  +1    -0    autotests/libs/itemtest.h
M  +8    -0    src/core/item.cpp

https://invent.kde.org/pim/akonadi/-/commit/519fe7b0cc7fcc51419891fe24980bf72aa7bd6a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to