[dev] imp/lib/Headers.php buildAddressLinks() trample global $conf in imp/message.php?

Emily A. Carl emilyac@wanet.net
Mon, 05 Aug 2002 19:27:15 -0700


Hi There,

I am using the HEAD cvs of horde and imp as of 20020802 to be able to use the
updates made to imp/redirect.php.  Running over apache 1.3.26 and PHP 4.2.1.

With this setup, I was wondering if anyone has encountered the problem
that I am having, or if someone in the know can confirm for me if I have
encountered a bug or not.  Its seem like such a blatant issue that nobody 
would miss it, if they were encountering it (!).

The issue is noticed when I  go to click on an email message to view it
from the INBOX display. The following Notice errors are encountered before 
the display of application links at the top of the screen:

Notice: Undefined index: mailbox in
/home/staff/webadm/public_html/horde_20020802/imp_20020802/message.php
on line 237

Notice: Undefined index: mailbox in
/home/staff/webadm/public_html/horde_20020802/imp_20020802/message.php
on line 238

Notice: Undefined index: allow_folders in
/home/staff/webadm/public_html/horde_20020802/imp_20020802/menu.php on
line 15

Notice: Undefined index: allow_folders in
/home/staff/webadm/public_html/horde_20020802/imp_20020802/templates/menu/menu.inc
on line 3

Notice: Undefined index: allow_folders in
/home/staff/webadm/public_html/horde_20020802/imp_20020802/templates/menu/menu.inc
on line 21

Notice: Undefined index: allow_folders in
/home/staff/webadm/public_html/horde_20020802/imp_20020802/templates/menu/menu.inc
on line 70

My debugging efforts have shown that the $conf array in imp/message.php
is somehow getting messed up in calls to buildAddressLinks().  For Example, 
first call in message.php:
      $imp_headers->buildAddressLinks('from', $index, $array_index, true);
triggers the first occurrance of "Undefined index: ...."  issues with
$conf index strings defined in imp/config/conf.php.

The Notices go on from there throughout the display message screen.  Other
wierd things in the screen show up like the INBOX and Compose links pointing
to turba rather than imp.

Have I found anything that someone else has encountered?

Thank you for your time and consideration,

Emily.