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

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Mar 5 07:27:50 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         | spamstop2 at terriertech.com
  Summary            | Activesync on WP7.8 deleted messages reappear
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


spamstop2 at terriertech.com (2014-03-05 07:27) wrote:

To answer the question: Yes, the message exists in deleted items.

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

The IMAP backend (dovecot) is sending UIDPLUS.  This means $uidplus is  
not set.  But the value of $copy_res is 1 (i.e. not an array), so  
execution goes to the section labelled "No UIDPLUS".

As a consequence, Horde is sending Move:Status=5 even though the move  
was successful at the backend:

2014-03-05T00:02:41-06:00 DEBUG: [24718] I  <Move:Moves>
2014-03-05T00:02:41-06:00 DEBUG: [24718] I   <Move:Move>
2014-03-05T00:02:41-06:00 DEBUG: [24718] I    <Move:SrcMsgId>
2014-03-05T00:02:41-06:00 DEBUG: [24718] I      95335
2014-03-05T00:02:41-06:00 DEBUG: [24718] I    </Move:SrcMsgId>
2014-03-05T00:02:41-06:00 DEBUG: [24718] I    <Move:SrcFldId>
2014-03-05T00:02:41-06:00 DEBUG: [24718] I      F1f4debc6
2014-03-05T00:02:41-06:00 DEBUG: [24718] I    </Move:SrcFldId>
2014-03-05T00:02:41-06:00 DEBUG: [24718] I    <Move:DstFldId>
2014-03-05T00:02:41-06:00 DEBUG: [24718] I      F7be09d0e
2014-03-05T00:02:41-06:00 DEBUG: [24718] I    </Move:DstFldId>
2014-03-05T00:02:41-06:00 DEBUG: [24718] I   </Move:Move>
2014-03-05T00:02:41-06:00 DEBUG: [24718] I  </Move:Moves>
2014-03-05T00:02:41-06:00 DEBUG: [24718] O  <Move:Moves>
2014-03-05T00:02:41-06:00 DEBUG: [24718] O   <Move:Response>
2014-03-05T00:02:41-06:00 DEBUG: [24718] O    <Move:SrcMsgId>
2014-03-05T00:02:41-06:00 DEBUG: [24718] O     95335
2014-03-05T00:02:41-06:00 DEBUG: [24718] O    </Move:SrcMsgId>
2014-03-05T00:02:41-06:00 INFO: [24718]  
Horde_Core_ActiveSync_Driver::moveMessage(INBOX, [9
5335], Deleted Items)
2014-03-05T00:02:42-06:00 INFO: [24718] Updating state during delete
2014-03-05T00:02:42-06:00 DEBUG: [24718] O    <Move:Status>
2014-03-05T00:02:42-06:00 DEBUG: [24718] O     5
2014-03-05T00:02:42-06:00 DEBUG: [24718] O    </Move:Status>
2014-03-05T00:02:42-06:00 DEBUG: [24718] O   </Move:Response>
2014-03-05T00:02:42-06:00 DEBUG: [24718] O  </Move:Moves>

Because it is told the move was unsuccessful, WP7.8 is returning the  
message to the Inbox.

Next I'll try to disable UIDPLUS on dovecot and see if that fixes it.





More information about the bugs mailing list