[Tickets #3037] NEW: Horde_Config should validate generated PHP

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Nov 24 08:44:02 PST 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=3037
-----------------------------------------------------------------------
 Ticket             | 3037
 Created By         | Chuck Hagenbuch <chuck at horde.org>
 Summary            | Horde_Config should validate generated PHP
 Queue              | Horde Framework Packages
 Version            | HEAD
 State              | Accepted
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
-----------------------------------------------------------------------


Chuck Hagenbuch <chuck at horde.org> (2005-11-24 08:44) wrote:

We can't catch _everything_, but the validate() method on ConfigForm should
make sure the config file we're going to generate parses before considering
the form valid.

Also, to help achieve more specific error messages, we should add a new type
for PHP code that also validates the individual snippets so that you can't
enter something that's not valid on the right side of an = expression in one
of those fields.




More information about the bugs mailing list