[Tickets #14827] Re: prefs engine does not warn on missing keywords

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Jun 25 22:50:56 UTC 2018


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

Ticket URL: https://bugs.horde.org/ticket/14827
------------------------------------------------------------------------------
  Ticket             | 14827
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | prefs engine does not warn on missing keywords
  Queue              | Horde Framework Packages
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2018-06-25 22:50) wrote:

> 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





More information about the bugs mailing list