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

Allen Winter <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/pim/
                   |                            |akonadi/-/commit/2ba8cbde16
                   |                            |8fc3c9e22ed0411c7953a69e889
                   |                            |19a
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Allen Winter <[email protected]> ---
Git commit 2ba8cbde168fc3c9e22ed0411c7953a69e88919a by Allen Winter, on behalf
of Lars Kaderali.
Committed on 23/11/2026 at 18:55.
Pushed by winterz into branch 'master'.

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`

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/2ba8cbde168fc3c9e22ed0411c7953a69e88919a

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

Reply via email to