Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.6

Bug #12497 Generator works only with DB, but not with MDB2
Submitted: 2007-11-21 16:15 UTC
From: wiesemann Assigned: wiesemann
Status: Closed Package: DB_Table
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 44 - 44 = ?

 
 [2007-11-21 16:15 UTC] wiesemann (Mark Wiesemann)
Manual page: package.database.db-table.intro-generator.php $generator->tables = array('table1', 'table2', 'table3'); doesn't work with MDB2, I had to use DB

Comments

 [2007-11-21 16:16 UTC] wiesemann (Mark Wiesemann)
- summary adjusted - David, can you have a look into this problem?
 [2007-11-22 00:45 UTC] cwiedmann (Carsten Wiedmann)
> David, can you have a look into this problem? I'm not David, but I have the answer ;-) > $generator->tables = array('table1', 'table2', 'table3'); > doesn't work with MDB2, I had to use DB In DB_Table_Generator::getTableDefinition() the Manager/Reverse module was not loaded. DB_Table_Generator::generateTableClassFiles should also return a PEAR_Error, if there occurs any in the getTableDefinition() call. Regards, Carsten
 [2007-11-22 10:39 UTC] wiesemann (Mark Wiesemann)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. --- Thanks, Carsten. I have changed your patch: the portability setting of MDB2 is now saved, and set back later. This might not be needed, but this follows the idea of resetting the 'idxname_format' setting.