6.0.0-beta1
7/6/25

[#14827] prefs engine does not warn on missing keywords
Summary prefs engine does not warn on missing keywords
Queue Horde Framework Packages
Type Enhancement
State Rejected
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester birnbacs (at) gmail (dot) com
Created 06/25/2018 (2568 days ago)
Due
Updated 06/25/2018 (2568 days ago)
Assigned
Resolved 06/25/2018 (2568 days ago)
Milestone
Patch No

History
06/25/2018 10:51:08 PM Michael Rubinsky Assigned to Michael Rubinsky
State ⇒ Rejected
 
06/25/2018 10:50:55 PM Michael Rubinsky Comment #2 Reply to this comment
Syntax for prefs.conf requires keyword 'value' for a default value. 
When this is missing, the pref will be readable and writable for 
users who already have a value stored in the prefs container but 
others will be unable to change the pref.

A log notification about a missing keyword in a preference would be 
nice for developers all around
Technically, the 'value' field is dependent on the 'type' of 
preference, but I believe every type does require this.  This is 
(perhaps not clearly enough) explained in the prefs.php file in horde 
base.  So, not going to add a log entry for this, but perhaps some 
clearer language in prefs.php
06/25/2018 09:08:07 AM birnbacs (at) gmail (dot) com Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ prefs engine does not warn on missing keywords
Type ⇒ Enhancement
State ⇒ New
Reply to this comment
Syntax for prefs.conf requires keyword 'value' for a default value. 
When this is missing, the pref will be readable and writable for users 
who already have a value stored in the prefs container but others will 
be unable to change the pref.

A log notification about a missing keyword in a preference would be 
nice for developers all around

Saved Queries