Re: DB_DataObject >= 1.6.0 possible bug
| From: | Justin Patrin | Date: | Tue, 08 Jun 2004 23:41:26 +0000 |
| Subject: | Re: DB_DataObject >= 1.6.0 possible bug | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13022@lists.php.net to get a copy of this message | ||
Stephane Gully wrote:
Hello, There is an interesant feature into the new DB_DataObject release :You may want to go to the website and file a bug. -- paperCrane <Justin Patrin>* new options to filter generation of classes generator_include_regex = /foo_.*/i generator_exclude_regex = /tmp_.*/iI'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