[Tickets #9821] Re: Invalid argument supplied for foreach()

bugs at horde.org bugs at horde.org
Fri Apr 8 18:26:40 UTC 2011


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

Ticket URL: http://bugs.horde.org/ticket/9821
------------------------------------------------------------------------------
  Ticket             | 9821
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Invalid argument supplied for foreach()
  Queue              | IMP
  Version            | 5.0
  Type               | Bug
-State              | Unconfirmed
+State              | Feedback
-Priority           | 2. Medium
+Priority           | 1. Low
  Milestone          |
  Patch              |
-Owners             |
+Owners             | Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2011-04-08 18:26) wrote:

Something strange is going on.  I see that message fine, without  
errors.  But a debug backtrace shows differences.

Yours:

11. Horde_Mime_Viewer_Base->render() /var/www/horde4/imp/lib/Contents.php:472
12. IMP_Mime_Viewer_Html->_renderInline()
/usr/share/php/Horde/Mime/Viewer/Base.php:156
13. IMP_Mime_Viewer_Html->_IMPrender()
/var/www/horde4/imp/lib/Mime/Viewer/Html.php:78

Mine:

11. Horde_Mime_Viewer_Base->render() /disk2/src/horde/imp/lib/Contents.php:472
12. IMP_Mime_Viewer_Related->_renderInline()  
/disk2/src/horde/framework/Mime_Vie
wer/lib/Horde/Mime/Viewer/Base.php:156
13. IMP_Mime_Viewer_Related->_IMPrender()  
/disk2/src/horde/imp/lib/Mime/Viewer/R
elated.php:58
14. IMP_Contents->renderMIMEPart()  
/disk2/src/horde/imp/lib/Mime/Viewer/Related.
php:108
15. Horde_Mime_Viewer_Base->render() /disk2/src/horde/imp/lib/Contents.php:472
16. IMP_Mime_Viewer_Html->_renderInline()  
/disk2/src/horde/framework/Mime_Viewer
/lib/Horde/Mime/Viewer/Base.php:156
17. IMP_Mime_Viewer_Html->_IMPrender()  
/disk2/src/horde/imp/lib/Mime/Viewer/Html
.php:78

The difference - there is no mention of the multipart/related handler  
in yours, which makes no sense since the alternative part lives under  
the related part and should be parsed by the code in the related part.

Does the 'related' entry in imp/config/mime_drivers.php have 'inline'  
set to true?






More information about the bugs mailing list