[Tickets #3761] NEW: fullname hook & locked pref not working

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Apr 11 16:36:42 PDT 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=3761
-----------------------------------------------------------------------
 Ticket             | 3761
 Created By         | engineer at mca.k12.pa.us
 Summary            | fullname hook & locked pref not working
 Queue              | Horde Framework Packages
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


engineer at mca.k12.pa.us (2006-04-11 16:36) wrote:

Setting a hook for fullname and locking the fullname pref cause the hook not
to be executed.  For the hook to be executed, the fullname pref must not be
locked.

uncomment _prefs_hook_fullname (gecos) from hooks.php

Set prefs.php - fullname to be "locked" with no value
$_prefs['fullname'] = array(
    'value' => '',
    'locked' => true,
    'hook' => true,
    'shared' => true,
    'type' => 'text',
    'desc' => _("Your full name:")
);

After login and composing a new message the fullname is not displayed. 
Changing the locked to false and nothing else will work.

According prefs comment:
// user full name for From: line
// If you lock this preference, you must specify a value or a hook for it
in
// horde/config/hooks.php.

Removing the value line in the prefs.php has no effect on the problem. 
Since a hook is specified, this should work.  This option worked correctly
as listed a few months ago.  Using an older revision of Horde framework
makes this work.





More information about the bugs mailing list