6.0.0-RC7
6/27/26

[#3147] error in compose.inc
Summary error in compose.inc
Queue IMP
Queue Version HEAD
Type Bug
State Not A Bug
Priority 1. Low
Owners jan (at) horde (dot) org, slusarz (at) horde (dot) org
Requester amith (at) xalan (dot) com
Created 12/15/05 (7499 days ago)
Due
Updated 12/15/05 (7499 days ago)
Assigned 12/15/05 (7499 days ago)
Resolved 12/15/05 (7499 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
558 amith (at) xalan (dot) com Comment #7 Reply to this comment
If you're using CVS HEAD, please _always_ do an update right before
reporting a bug, and better yet, follow the CVS list or check the
archives to make absolutely sure.
I did right before I sent an e-mail to the list to make sure it was 
not an old version of a file causing the problem.  I should have done 
it again before creating the ticket.  I'm also subscribed to the CVS 
list but it took a little digging for me to figure out that it was in 
Compose.php.  Sorry for the inconvenience.


227 Chuck Hagenbuch Comment #6
State ⇒ Not A Bug
Reply to this comment
If you're using CVS HEAD, please _always_ do an update right before 
reporting a bug, and better yet, follow the CVS list or check the 
archives to make absolutely sure.
447 amith (at) xalan (dot) com Comment #5 Reply to this comment
It turns out that version 2.891 of imp/compose.php fixes my problem.   
I must have grabbed CVS while it was in flux.
75 Jan Schneider Comment #4
Assigned to Jan Schneider
Taken from Horde DevelopersHorde Developers
Reply to this comment
It probably has.
65 Michael Slusarz Comment #3
Assigned to Horde DevelopersHorde Developers
Reply to this comment
Are you sure this doesn't have something to do with the movement of 
code out of compose.php in relation to the dimp work?  I haven't been 
tracking those changes too closely so someone that has been doing that 
work (Jan, Marko) might be in a better position to look at this.
455 Chuck Hagenbuch Assigned to Michael Slusarz
State ⇒ Assigned
 
205 amith (at) xalan (dot) com Comment #2 Reply to this comment
Furthermore if I put a var_dump at the top of compose.inc for $header 
I get the following output



array(6) {

   ["to"]=>

   object(imp_headers)(9) {

     ["_agent"]=>

     string(45) "Internet Messaging Program (IMP) H3 (4.2-cvs)"

     ["_obCache"]=>

     array(0) {

     }

     ["_headers"]=>

     array(18) {

       ["received"]=>

       array(3) {

         ["header"]=>

         string(8) "Received"

         ["value"]=>

         ....

         ....


225 amith (at) xalan (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ error in compose.inc
Queue ⇒ IMP
State ⇒ Unconfirmed
Reply to this comment
I grabbed a copy of CVS HEAD (both Horde and IMP) and have configured 
the applications.  I receive the following error when I reply (or 
reply to list) to a message.  Reply to all works correctly.



Warning: htmlspecialchars() expects parameter 1 to be string, object 
given in /home/www/html/horde/imp/templates/compose/compose.inc on 
line 144



To get some more information I put a var_dump right before this on 
$header['to'] and the object type is object(imp_headers) rather than 
the "To" string that is expected.   I can provide more information or 
if someone can give me some more info on where to look I can do more 
digging.

Saved Queries