6.0.0-beta1
7/8/25

[#12422] Message reply/forward result in an http500 error when using BlackBerry 10 as a client
Summary Message reply/forward result in an http500 error when using BlackBerry 10 as a client
Queue Synchronization
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester me (at) matthills (dot) ca
Created 07/01/2013 (4390 days ago)
Due
Updated 07/02/2013 (4389 days ago)
Assigned
Resolved 07/02/2013 (4389 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/02/2013 12:17:12 AM Michael Rubinsky Assigned to Michael Rubinsky
State ⇒ Resolved
 
07/02/2013 12:16:48 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 35d7d3f2a6ab37e243ad94709a565ac3b2f45a3e
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Mon Jul 1 20:15:25 2013 -0400

     Bug: 12422 Fix SmartReply/SmartForward commands for certain clients.

     Fixes the smart commands when the client does not send Wbxml.

  .../lib/Horde/ActiveSync/Request/SmartForward.php  |    3 ++-
  .../lib/Horde/ActiveSync/Request/SmartReply.php    |    3 ++-
  2 files changed, 4 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/35d7d3f2a6ab37e243ad94709a565ac3b2f45a3e
07/01/2013 07:27:21 PM me (at) matthills (dot) ca Comment #1
Priority ⇒ 1. Low
New Attachment: failtoreply.txt Download
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ Message reply/forward result in an http500 error when using BlackBerry 10 as a client
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Problem Description

When a user attempts to reply to or forward an email using a 
Blackberry 10 device it fails.
Using an IMAP client works successfully.

Summary of issue

After attempted to reply to an issue the webserver reports an http 500 
error and the horde AS log reports that it was unable to find the 
mailbox for the user

==> tmp/horde/horde/log/BB22FFFFFF.txt <==
2013-07-01T19:00:40+00:00 DEBUG: [18133] SMARTREPLY request received 
for user testuser
2013-07-01T19:00:40+00:00 INFO: [18133] Device entry exists for 
BB22FFFFFF, updating userAgent and version.
2013-07-01T19:00:40+00:00 INFO: [18133] Request being handled for 
device: BB22FFFFFF Supporting protocol version: 12.1
2013-07-01T19:00:40+00:00 ERR: Unable to fetch message: Could not open 
mailbox "8a1de8e6".
2013-07-01T19:00:40+00:00 DEBUG: [18133] O  <ComposeMail:SmartReply>
2013-07-01T19:00:40+00:00 DEBUG: [18133] O   <ComposeMail:Status>
2013-07-01T19:00:40+00:00 DEBUG: [18133] O    121
2013-07-01T19:00:40+00:00 DEBUG: [18133] O   </ComposeMail:Status>

==> /var/log/apache2/domain.com/access.log <==
192.168.0.100 - testuser [01/Jul/2013:23:00:40 +0400] "POST 
/Microsoft-Server-ActiveSync?Cmd=SmartReply&DeviceType=BlackBerry&User=testuser&DeviceId=BB22FFFFFF&SaveInSent=T&CollectionId=8a1de8e6&ItemId=75 HTTP/1.1" 500 576 "-" 
"RIM-Z10-STL100-3/10.1.0.1720"


note* I can reproduce this 100% of the time when.
new sent mail from the Blackberry works fine, it is only replies fail.
Other Acitvesync devices work fine for this user.

Environment Details

horde version 5.1.2.git (did a pull this afternoon)
dovecot IMAPd


Saved Queries