For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > March 2007 > Re: [PEAR] Formbuilder and crossLinkExtraFields not working









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Formbuilder and crossLinkExtraFields not working
Jan Wagner

2007-03-30, 4:00 am

> > I have setup fb_crossLinkExtraFields for my table, but formbuilder is
>
> Are you setting any of the fb options in the crossLink table?


Hi,

having a close look at debug output, I noticed formbuilder is creating
UPDATE statements for the crosslinks. These should actually be INSERTs.
After having a look at the source, I came to the conclusion it must be
because of multiple primary keys in the crosslink table. After adding a
dedicated pk for it, it worked. I am always forgetting about this
DataObject limitation, as it would not be necessary otherwise. Thanks
anyway.

Jan
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com