Re: DB_DataObject Bug?

From: Date: Sun, 08 Aug 2004 19:37:47 +0000
Subject: Re: DB_DataObject Bug?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-32512@lists.php.net to get a copy of this message
On Sun, 08 Aug 2004 14:20:41 +0200, Verona Busch <veronabusch@gmx.de> wrote: > Hi, > > after installation of the new DB_DataObject 1.7.0 I get the fatal error > when creating the tables with createTables.php. > > Fatal error: Undefined class name 'db' in > ....pear\DB\DataObject\Generator.php on line 111 > > Before 1.7.0 there was no problem. Is it a bug, or did I do something wrong? > It's a bug. Alan changed DB.php to be lazy-loaded, but it breaks things like this. Alan: *Why* did you change it to be lazy-loaded? It's not like DB is an optional dependency. If people want things not included if they dont' need them, they should lazy-load DataObject.php. > Vero > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--

« previous php.pear.dev (#32512) next »