[Tickets #8965] Mailboxs with messages show as empty

bugs at horde.org bugs at horde.org
Wed Apr 14 23:09:10 UTC 2010


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

Ticket URL: http://bugs.horde.org/ticket/8965
------------------------------------------------------------------------------
  Ticket             | 8965
  Created By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Mailboxs with messages show as empty
  Queue              | IMP
  Version            | Git master
  Type               | Bug
  State              | Assigned
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2010-04-14 19:09) wrote:

Viewing folders that I know contain messages results in IMP showing  
them empty, with the following log entry:

2010-04-14 18:48:46: (mod_fastcgi.c.2570) FastCGI-stderr: PHP Notice:   
Undefined index: sort in /horde/horde/imp/lib/Mailbox.php on line 321
PHP Stack trace:
PHP   1. {main}() /horde/horde/imp/mailbox.php:0
PHP   2. IMP_Mailbox->buildMailboxPage() /horde/horde/imp/mailbox.php:227
PHP   3. IMP_Mailbox->_buildMailbox() /horde/horde/imp/lib/Mailbox.php:491

It doesn't affect all folders, but I can't pin down the differences  
between the folders that are working, and those that are not.

The value of $res in Mailbox.php is:
array
   'match' =>
     array
       0 => string '31351' (length=5)
       1 => string '31357' (length=5)
       2 => string '31358' (length=5)
...

The working folders contain the sort element, as the code is expecting:

'sort' =>
     array
       0 => string '43858' (length=5)
       1 => string '43857' (length=5)
       2 => string '43856' (length=5)
       3 => string '43855' (length=5)
....










More information about the bugs mailing list