6.0.0-beta13
4/11/26

[#3761] fullname hook & locked pref not working
Summary fullname hook & locked pref not working
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners
Requester engineer (at) mca (dot) k12 (dot) pa (dot) us
Created 4/11/06 (7305 days ago)
Due
Updated 4/15/06 (7301 days ago)
Assigned 4/13/06 (7303 days ago)
Resolved 4/15/06 (7301 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
15.04.2006 23:18:34 Chuck Hagenbuch Deleted Original Message
 
15.04.2006 23:16:16 Chuck Hagenbuch Comment #5
State ⇒ Resolved
Reply to this comment
Fixed in CVS. Thanks for the comparison point!
15.04.2006 23:06:29 horde (at) eltofts (dot) homelinux (dot) com Comment #4 Reply to this comment
A related problem seems to be that preferences are not saved (with a 
MySQL backend).



Reverting to an older Prefs cures this.
13.04.2006 02:18:12 engineer (at) mca (dot) k12 (dot) pa (dot) us Comment #3
New Attachment: Horde_Prefs_Working.tgz
Reply to this comment
The current version I am running is a CVS checkout from 04/11/06.



After replacing framework modules, one at a time, I have determined 
that the problem is in "Prefs".  I am not positive on a date of the 
working version, I think it was around 03/26/06.  I do have a copy 
that is working correctly and I have attached it.  I think the option 
got broken sometime shortly after that.



If I install all of the framework from 04/11/06 and then replace only 
Prefs with the older version, the fullname hook option works with the 
fullname pref is locked.


13.04.2006 01:37:06 Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
What Horde version are you using? And do you remember what the working 
version was, or if it was a CVS checkout, the date and branch?
11.04.2006 23:36:42 engineer (at) mca (dot) k12 (dot) pa (dot) us Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ fullname hook & locked pref not working
Queue ⇒ Horde Framework Packages
State ⇒ Unconfirmed
Reply to this comment
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.


Saved Queries