[Tickets #11382] folder listing fails due to empty prefs-value for spam_folder

bugs at horde.org bugs at horde.org
Wed Aug 29 13:07:42 UTC 2012


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

Ticket-URL: http://bugs.horde.org/ticket/11382
------------------------------------------------------------------------------
  Ticket           | 11382
  Erstellt Von     | piper at hrz.uni-marburg.de
  Zusammenfassung  | folder listing fails due to empty prefs-value for
                   | spam_folder
  Warteschlange    | IMP
  Version          | 5.0.23
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 3. High
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


piper at hrz.uni-marburg.de (2012-08-29 13:07) hat geschrieben:

In traditional view of imp (version 5.0.23 with horde 4.0.15) no  
folder content is displayed if the user has stored an empty  
prefs-value for 'spam_folder'. Opening the folder-listing yields to  
this fatal PHP error:

Call to a member function equals() on a non-object in  
/var/www/horde/imp/mailbox.php on line 606

Line 606 in imp/mailbox.php reads:
  !IMP_Mailbox::getPref('spam_folder')->equals(IMP::$mailbox)

This expression is also used in some other places in imp, the error  
should therefore be not restricted to the folder listing.

Thanks for any solution,
Andreas





More information about the bugs mailing list