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

[email protected]
Newsgroups gmane.comp.horde.bugs
Message-ID <[email protected]>
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 <[email protected]>
  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 <[email protected]> (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



-- 
bugs mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.