[Tickets #13010] Re: Activesync on WP7.8 deleted messages reappear

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Mar 5 08:16:13 UTC 2014


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

Ticket URL: http://bugs.horde.org/ticket/13010
------------------------------------------------------------------------------
  Ticket             | 13010
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Activesync on WP7.8 deleted messages reappear
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2014-03-05 01:16) wrote:

> I've done some more investigating: this may be related to UIDPLUS  
> and moveMessage() in Imap/Adapter.php.

Client code really should not need to have to deal with capability sniffing.

The best solution will be to remove all UIDPLUS code from ActiveSync  
and instead add an option to Horde_Imap_Client_Base#copy() that  
guarantees a return of old -> new UIDs list even if the server does  
not automatically provide that information.

The correct way to workaround this via IMAP is to search for the  
message ID header in the new mailbox.  You absolutely can't use the  
UIDNEXT value since servers don't necessarily use the next sequential  
UID (i.e. Gmail).  The only IMAP requirement for UIDs is that they  
must be ascending; there is no requirement they must be contiguous.





More information about the bugs mailing list