[commits] Horde branch master updated. 4c23eb26048014cd301abe1dd2e01b56adffbd4e

Michael J. Rubinsky mrubinsk at horde.org
Mon Sep 21 15:06:57 UTC 2015


The branch "master" has been updated.
The following is a summary of the commits.

from: 970880051702f4f0b3844aba57fb6b10e6cb3d05

4c23eb2 Kolab_Storage: Improve cleanup of duplicated objects

Summary: http://github.com/horde/horde/compare/970880051702f4f0b3844aba57fb6b10e6cb3d05...4c23eb26048014cd301abe1dd2e01b56adffbd4e

-----------------------------------------------------------------------

commit 4c23eb26048014cd301abe1dd2e01b56adffbd4e
Author: Thomas Jarosch <thomas.jarosch at intra2net.com>
Date:   Sat Sep 19 14:48:25 2015 +0200

    Kolab_Storage: Improve cleanup of duplicated objects
    
    In the real world it can happen that two messages
    with the some Kolab XML uid appear in an IMAP folder.
    
    This could be due to user error or a Kolab client
    that first stores the new version of an object
    and then deletes the old message.
    
    The current code removes the Kolab object completely
    from the cache when an old duplicate message gets expunged.
    
    Fix it by only removing the object from the cache
    if the latest version of the object gets deleted.
    
    The fix is not perfect as it does not cover the case
    when the latest version (=highest IMAP uid) gets removed
    and the old one remains. That case is more complicated
    as we need to update the Horde_History, too.

 framework/Kolab_Storage/lib/Horde/Kolab/Storage/Cache/Data.php |   38 +++++---
 1 files changed, 25 insertions(+), 13 deletions(-)

http://github.com/horde/horde/commit/4c23eb26048014cd301abe1dd2e01b56adffbd4e




More information about the commits mailing list