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

Bug #4040 Table containing column 'link' or 'links' is not supported
Submitted: 2005-04-03 16:14 UTC
From: cebewee at gmx dot de Assigned: alan_k
Status: Closed Package: DB_DataObject
PHP Version: 4.3.10 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


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 : 29 + 36 = ?

 
 [2005-04-03 16:14 UTC] cebewee at gmx dot de
Description: ------------ Version of DB_DataObject: 1.7.13 If a database table contains a column named 'link' or 'links', a call to toArray() will result in an error: Warning: Missing argument 1 for getlink() in /usr/share/php/DB/DataObject.php on line 2552 The reason is, toArray calls get{$columnname}() which happens to be getLink() or getLinks() with such a column.

Comments

 [2005-04-20 07:46 UTC] alan_k
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.