[Tickets #12597] Re: AS: Detect deletes on a non-CONDSTORE server

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Aug 22 02:55:19 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12597
------------------------------------------------------------------------------
  Ticket             | 12597
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | AS: Detect deletes on a non-CONDSTORE server
  Queue              | Synchronization
  Version            | Git master
  Type               | Enhancement
  State              | Assigned
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2013-08-22 02:55) wrote:

commit 4e05bb38ff570c063999f6895128409bc3e02329
Author: Thomas Jarosch <thomas.jarosch at intra2net.com>
Date:   Wed Aug 21 22:30:54 2013 +0200

     Detect deleted messages in ping() for non-CONDSTORE servers

     We store the total number of messages per folder.
     If a messages is deleted, the total number will change.
     If a DELETE+ADD happens at the same time, UIDNEXT will still increase.

     Note: I didn't increase the folder cache version on purpose.
     Otherwise we lose the cached flags for no good reason.

     Signed-off-by: Michael J Rubinsky <mrubinsk at horde.org>

  framework/ActiveSync/lib/Horde/ActiveSync/Folder/Imap.php  |   27  
+++++++++++-
  framework/ActiveSync/lib/Horde/ActiveSync/Imap/Adapter.php |   18 ++++++--
  2 files changed, 39 insertions(+), 6 deletions(-)

http://git.horde.org/horde-git/-/commit/4e05bb38ff570c063999f6895128409bc3e02329





More information about the bugs mailing list