Re: fieldsToRender freak clash with DataObjects :)
| From: | Justin Patrin | Date: | Tue, 10 May 2005 16:31:30 +0000 |
| Subject: | Re: fieldsToRender freak clash with DataObjects :) | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19147@lists.php.net to get a copy of this message | ||
On 5/9/05, pear@electroteque.org <pear@electroteque.org> wrote:
> Ok Justin, I finally got my head around your API, i managed to get the
> virtual fields and links set to a cross database (with DataObject patch), I
> discovered a freak clash with DB_DataObject when not using formbuilder.
> $fb_fieldsToRender if set within the DO makes the result DO for the
> datagrid return NULL values, if i comment it out its all ok :)
>
> Now I cant really send entire scripts to demonstrate but would there be any
> reason at all that DataObject would be using this variable ? I should think
> not, my workaround is to send the array to create, this may be the best
> option as i handle a new entry form differently to the update form. Just
> letting you know :)
>
This sounds like an SDG problem. Are you using formbuilder_integration?
--
Justin Patrin