[kmail2] [Bug 339181] moving mails from cached imap to local folder leaves mails without RID

Daniel Vrátil via KDE Bugzilla bugzilla_noreply at kde.org
Mon Mar 21 23:21:57 GMT 2016


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

Daniel Vrátil <dvratil at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |16.04
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/akon
                   |                            |adi/36e410afdb2fec0b118d5ac
                   |                            |b3a1de4bd148e34c4

--- Comment #17 from Daniel Vrátil <dvratil at kde.org> ---
Git commit 36e410afdb2fec0b118d5acb3a1de4bd148e34c4 by Daniel Vrátil.
Committed on 21/03/2016 at 23:13.
Pushed by dvratil into branch 'Applications/16.04'.

Monitor: translate batch inter-resource move notifications

When we get an inter-resource move notification with multiple Items
we must always run it through translateAndCompress() to translate it
into a series of Add notifications on destination resource and Remove
notification on the source resource.

Without the transformation any inter-resource move of more than one
Item was still being emitted as Monitor::itemsMoved() possibly
causing the resource to fail the operation. In case of non-batch
resources like Maildir resource it only emitted the first Item via
Monitor::itemMoved().

This fixes a potential data loss as the change was not handled by the
destination resource and caused the Items to be stored only in the
Akonadi database.
FIXED-IN: 16.04

M  +9    -3    src/core/monitor_p.cpp

http://commits.kde.org/akonadi/36e410afdb2fec0b118d5acb3a1de4bd148e34c4

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list