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

From: Date: Mon, 15 Nov 2004 18:58:42 +0000
Subject: Re: DB_Object->update() : "getLink: row not set"
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15531@lists.php.net to get a copy of this message
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 (#15531) next »