[Tickets #4164] Describe syntax for textarea type prefs

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Jul 17 07:47:47 PDT 2006


Ticket URL: http://bugs.horde.org/ticket/?id=4164
 Ticket             | 4164
 Updated By         | Otto.Stolz at uni-konstanz.de
 Summary            | Describe syntax for textarea type prefs
 Queue              | IMP
 Version            | HEAD
 State              | Feedback
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 

Otto.Stolz at uni-konstanz.de (2006-07-17 07:47) wrote:

The complete PHP message:
> Warning: Invalid argument supplied for foreach() in
> /opt/test-webmail/horde/imp/message.php on line 340

However, I now have problems reproducing it: Apparently, the setting of
$_prefs['mail_hdr'] ['value'] has no effect on the mail users I have used
for previous tests: they keep their former preference setting, even if I
- hit the "undo" link in the preference window,
- log out from imp, and in again,
- log out from imp and horde, and in again,
- stop and start the Apache server,
- delete the pertinent entry from the mysql table:
    delete  from horde_prefs
    where pref_uid='testaccount at uni-konstanz.de'
    and pref_name="identities";

The only way to reproduce the error message was to lock the entry
in horde/imp/config/prefs.php -- but then I always got that PHP warning
and was not able to find a value that would avoid it.

So the additional questions arise:
- How can I test this issue without genereating a new user-id, for every
  single test-shot?
- How can I propagate a new option (as this one) to all users of the
  previous Imp version?
- How can a user reset an option so as to use the default at run time
  (as opposed to the default at option-setting time)?

More information about the bugs mailing list