6.0.0-beta1
7/21/25

[#15113] ActiveSync IMAP client error
Summary ActiveSync IMAP client error
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester azurit (at) pobox (dot) sk
Created 06/15/2022 (1132 days ago)
Due
Updated 06/18/2022 (1129 days ago)
Assigned
Resolved 06/18/2022 (1129 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/18/2022 10:57:00 PM Michael Rubinsky Assigned to Michael Rubinsky
State ⇒ Resolved
 
06/18/2022 10:51:31 PM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit c3a870f9264c6425306da75810742dc5f18a0aa8
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sat, 18 Jun 2022 18:51:25 -0400

Bug: 15113 Fix getting code from exception

  M lib/Horde/ActiveSync/Imap/Adapter.php

https://github.com/horde/ActiveSync/commit/c3a870f9264c6425306da75810742dc5f18a0aa8
06/18/2022 10:51:03 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit 96a3c87972f54c85fb83fb7973a0c5193d9b3d94
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Sat, 18 Jun 2022 18:50:36 -0400

Bug: 15113 Fix getting code from exception

  M lib/Horde/ActiveSync/Imap/Adapter.php

https://github.com/horde/ActiveSync/commit/96a3c87972f54c85fb83fb7973a0c5193d9b3d94
06/16/2022 11:12:03 AM azurit (at) pobox (dot) sk Comment #3 Reply to this comment
More info.

Value of $name variable in 
Horde/Imap/Client/Exception/ServerResponse.php , from this line:
return parent::__get($name);

is 'code' (without '').

06/15/2022 11:28:40 AM azurit (at) pobox (dot) sk Comment #2 Reply to this comment
PHP 7.4
06/15/2022 09:50:11 AM azurit (at) pobox (dot) sk Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ ActiveSync IMAP client error
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Horde/IMP is returning this error after a ActiveSync request:
POST 
/Microsoft-Server-ActiveSync?User=<censored>&DeviceId=<censored>&DeviceType=iPhone&Cmd=Sync

Call to undefined method Horde_Imap_Client_Exception::__get() in 
/usr/share/php/Horde/Imap/Client/Exception/ServerResponse.php:84
Stack trace:
#0 /usr/share/php/Horde/ActiveSync/Imap/Adapter.php(1048): 
Horde_Imap_Client_Exception_ServerResponse->__get('code')
#1 /usr/share/php/Horde/ActiveSync/Imap/Adapter.php(418): 
Horde_ActiveSync_Imap_Adapter->_getMailMessages(Object(Horde_Imap_Client_Mailbox), Array, 
Array)
#2 /usr/share/php/Horde/Core/ActiveSync/Driver.php(1452): 
Horde_ActiveSync_Imap_Adapter->getMessages('INBOX', Array, Array)
#3 /usr/share/php/Horde/ActiveSync/Connector/Exporter/Sync.php(483): 
Horde_Core_ActiveSync_Driver->getMessage('INBOX', 238, Array)
#4 /usr/share/php/Horde/ActiveSync/Connector/Exporter/Sync.php(62): 
Horde_ActiveSync_Connector_Exporter_Sync->_sendNextChange()
#5 /usr/share/php/Horde/ActiveSync/Request/Sync.php(461): 
Horde_ActiveSync_Connector_Exporter_Sync->sendNextChange()
#6 /usr/share/php/Horde/ActiveSync/Request/Base.php(250): 
Horde_ActiveSync_Request_Sync->_handle()
#7 /usr/share/php/Horde/ActiveSync.php(833): 
Horde_ActiveSync_Request_Base->handle()
#8 /usr/share/php/Horde/Rpc/ActiveSync.php(144): 
Horde_ActiveSync->handleRequest('Sync', 'F6JEN4H0UT39T0Q...')
#9 /usr/share/horde/rpc.php(160): Horde_Rpc_ActiveSync->getResponse(NULL)
#10 {main} [pid 18691 on line 74 of "/usr/share/php/Horde/ErrorHandler.php"]


Horde:  5.2.23
IMP: 6.2.27
Horde_ActiveSync: 2.41.7
Horde_Imap_Client: 2.30.5

Saved Queries