6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/11/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6822] Hooked prefs won't get stored
*
Your Email Address
*
Spam protection
Enter the letters below:
.__.\ /. ..__ . , [__] >< \ /| \ \./ | |/ \ \/ |__/ |
Comment
>> Why isn't this the right behavior? > > > > #1 It's not documented that way (from hooks.php) > > * NOTE 3: Any preference that is NOT LOCKED, that is set by a hook, WILL BE > > * SAVED WITH THAT VALUE. This means several things: > > * 1) Users will get the results of the hook set for them in their > > * preferences. > > * 2) By virtue of this, the next time they log in and load their > > * preferences, the hook will NOT be called, because in their last > session, > > * we saved the results of the hook for them. However, if the > preference is > > * locked, the result of the hook will never be saved. > > > > #2 We're hooking a lot of preferences for initial setup. If they > won't be stored any more, this will generate a bunch of unnecessary > SQL querys. > > > > #3 Why should unlocked prefs not get stored? (counter question)
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers