[Tickets #11820] PHP Fatal error on sorting a mailbox by FROM column

bugs at horde.org bugs at horde.org
Wed Dec 5 21:34:56 UTC 2012


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

Ticket URL: http://bugs.horde.org/ticket/11820
------------------------------------------------------------------------------
  Ticket             | 11820
  Created By         | aria at bsc.gwu.edu
  Summary            | PHP Fatal error on sorting a mailbox by FROM column
  Queue              | IMP
  Version            | 6.0.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


aria at bsc.gwu.edu (2012-12-05 21:34) wrote:

I am using Horde 5.02 with IMP 6.02 and have found what appears to be a bug
in the PEAR/Horde/Imap/Client/Socket/ClientSort.php module when sorting a
mailbox by the 'From' column AND when IMP is connected to an IMAP server
with the SORT capability turned off (or a server that does not support SORT
capability).

Sorting by the FROM column will result in PHP error:

PHP Fatal error:  Cannot use object of type Horde_Mail_Rfc822_Address as
array in /usr/share/php5/PEAR/Horde/Imap/Client/Socket/ClientSort.php on
line 225

I have confirmed this using two IMAP servers.  I connected to a Cyrus IMAP
server and used the  following setting in my IMP backends.local.php file:

$servers['imap']['capability_ignore'] = array('SORT');


Thanks.






More information about the bugs mailing list