Re: DB_Object->update() : "getLink: row not set"
| From: | Justin Patrin | Date: | Tue, 16 Nov 2004 18:12:09 +0000 |
| Subject: | Re: DB_Object->update() : "getLink: row not set" | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15564@lists.php.net to get a copy of this message | ||
On Tue, 16 Nov 2004 10:45:19 +0100, toni <toni@pangea.org> wrote:
> 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.
>
Have you tried a newer version of DB_DataObject?
> 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
> >
>
>
--
Justin Patrin