Re: DB_Object->update() : "getLink: row not set"

From: Date: Tue, 16 Nov 2004 09:45:19 +0000
Subject: Re: DB_Object->update() : "getLink: row not set"
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15557@lists.php.net to get a copy of this message
No, I haven't overridden the update() method. I have provisionally solved inserting a row in the table "Proyecto" meaning a null value, but I think this is not the way. If anyone like to see more information over the scripts, I will send you. Regards. Toni. El dl 15 de 11 del 2004 a les 10:58 -0800, en/na Justin Patrin va escriure: > On Mon, 15 Nov 2004 12:42:35 +0100, Toni <toni@pangea.org> wrote: > > Hi, > > > > I've done a script that inserts/updates "Material" rows in a table. I > > have this links.ini file: > > [Material] > > proyecto_fk = Proyecto:id > > > > When I I do a insert() with a void link (proyecto_fk), it inserts fine, > > but when I update(), I get this error: "DB_DataObject Error: getLink: > > row not set proyecto_fk". > > > > Do you know why? I haven't find anything in the online documentation. > > > > I don't see anything in the update() function which deals with links. > Have you overridden update() in your table's class? > > -- > Justin Patrin >

« previous php.pear.general (#15557) next »