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

Daniel Vrátil <dvra...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/ako
                   |                            |nadi/f8fc30bac58da423038906
                   |                            |fe86cd00393df14bb9
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |5.9.0

--- Comment #1 from Daniel Vrátil <dvra...@kde.org> ---
Git commit f8fc30bac58da423038906fe86cd00393df14bb9 by Daniel Vrátil.
Committed on 16/08/2018 at 09:38.
Pushed by dvratil into branch 'Applications/18.08'.

Monitor: rebuild Item from ntf if it's mustRetrieve but IFS is empty

When Monitor's IFS is empty and it receives an Item notification
with mustRetrieve set to true, then the retrieval is bypassed, but
the later on the code attempts to extract a result from cache which
results crash as we try to access elements in an empty list.

The fix is to send as much metadata as we can in the mustRetrieve
notification, and the Monitor needs to rebuild the Item from the
metadata instead of attempting retrieval.
FIXED-IN: 5.9.0

M  +1    -1    src/core/monitor_p.cpp
M  +5    -0    src/server/storage/notificationcollector.cpp

https://commits.kde.org/akonadi/f8fc30bac58da423038906fe86cd00393df14bb9

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

Reply via email to