DB_DataObject >= 1.6.0 possible bug
| From: | Stephane GULLY | Date: | Tue, 08 Jun 2004 23:24:06 +0000 |
| Subject: | DB_DataObject >= 1.6.0 possible bug | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13021@lists.php.net to get a copy of this message | ||
Hello,
There is an interesant feature into the new DB_DataObject release :
* new options to filter generation of classes generator_include_regex = /foo_.*/i generator_exclude_regex = /tmp_.*/i I've a prb with these new options ..., I set :generator_include_regex = /mi_.*/i generator_exclude_regex = /gacl_.*/i * *because I want to include only mi_* table names (I think it's not necessary to specify generator_exclude_regex for me but the prb is not here.)* *Then I generate the dataobjects, and I get these warnings :* Notice*: Undefined index: gacl_acl in */home/kerphi/lib/eclipse/workspace/src/lib/pear/DB/DataObject/Generator.php* on line *248* *Warning*: Invalid argument supplied for foreach() in */home/kerphi/lib/eclipse/workspace/src/lib/pear/DB/DataObject/Generator.php* on line *270 *Unfortunately gacl_* dataobjects classes are generated :-( So maybe it's a bug ? Stephane