[Tickets #13874] ActiveSync Returns Incorecct Status to Device during MoveItems

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Feb 20 14:47:04 UTC 2015


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/13874
------------------------------------------------------------------------------
  Ticket           | 13874
  Erstellt Von     | sascha at valckenier-kips.de
  Zusammenfassung  | ActiveSync Returns Incorecct Status to Device during
                   | MoveItems
  Warteschlange    | Horde Framework Packages
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


sascha at valckenier-kips.de (2015-02-20 14:47) hat geschrieben:

ActiveSync returns incorrect Status Back to device.
In Function MoveItems (Moving a E-Mail from Inbox to a Folder), i  
become Status value 1 back. my Mobile Device give me a error back,  
that mail could't moved. But the Mail was on my DBMail 2.3.8 Server  
Moved correctly.

I have enabled Debug and added Debugging Line in MoveItems.php.
On Move the PHP Script becomes no new Message ID from IMAPD and after  
them the Script give back the Status "1".

I'am not sure, if the IMAP-Server or Horde/ActiveSync has the problem.  
This will i testing later.

Here the Code from MoveItems, that give me the bad Status back:

  if (empty($move_res['results'][$move[self::SRCMSGKEY]])) {
                         // Hm. Specs say to send INVALID_SRC if the msg is
                         // already moved, or no longer present, but that seems
                         // to lead to the client keeping the item and  
continuously
                         // retrying. We can't fake the move since we need a
                         // new uid.....
                         $status = in_array($move[self::SRCMSGKEY],  
$move_res['missing'])
                             ? self::STATUS_INVALID_SRC
                             : self::STATUS_SERVER_ERR;
                     } else {
                         $new_msgid =  
$move_res['results'][$move[self::SRCMSGKEY]];
                     }

The Statmante Return invalid Source. Is a way to correct this. My  
Mobiledevice make me crazy. Every moving returns me a Errormessage.

Thanks Sascha





More information about the bugs mailing list