[Tickets #7202] Warnings displayed when priority and attachment hook and function enabled

bugs at horde.org bugs at horde.org
Wed Aug 13 22:30:28 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/7202
------------------------------------------------------------------------------
  Ticket             | 7202
  Created By         | dion.rowney at usask.ca
  Summary            | Warnings displayed when priority and attachment hook
                     | and function enabled
  Queue              | IMP
  Version            | 4.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
+New Attachment     | Forwarded Message: Safety Update
------------------------------------------------------------------------------


dion.rowney at usask.ca (2008-08-13 18:30) wrote:

After enabling the _imp_hook_msglist_format hook in the hooks.php  
example I get the following warning displayed:

Warning: Attempt to assign property of non-object in  
/var/www/html/horde/lib/Horde/MIME.php on line 391
Warning: Attempt to assign property of non-object in  
/var/www/html/horde/lib/Horde/MIME.php on line 391
Warning: Attempt to assign property of non-object in  
/var/www/html/horde/lib/Horde/MIME.php on line 391
Warning: Attempt to assign property of non-object in  
/var/www/html/horde/lib/Horde/MIME.php on line 391
Warning: Attempt to assign property of non-object in  
/var/www/html/horde/lib/Horde/MIME.php on line 647
Warning: Attempt to assign property of non-object in  
/var/www/html/horde/lib/Horde/MIME.php on line 647
Warning: Attempt to assign property of non-object in  
/var/www/html/horde/lib/Horde/MIME.php on line 647
Warning: Attempt to assign property of non-object in  
/var/www/html/horde/lib/Horde/MIME.php on line 647

The affected line appears to be:

$ob->personal = isset($ob->personal) ? MIME::decode($ob->personal,  
$to_charset) : '';

It does not seem specific to the number of messages but rather if a  
specific message is seen.  I have an example of a message which causes  
this behavior.  When this message is moved to a different folder, the  
behavior follows it.

Hope this helps.








More information about the bugs mailing list