Re: DBDO FormBuilder crosslinks/triplelinks/reverselinks fix
| From: | Justin Patrin | Date: | Thu, 21 Apr 2005 16:35:01 +0000 |
| Subject: | Re: DBDO FormBuilder crosslinks/triplelinks/reverselinks fix | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18875@lists.php.net to get a copy of this message | ||
On 4/20/05, Tim Glen <tim@nonfiction.ca> wrote:
> Attached is a diff of FormBuilder.php with a couple of small fixes.
>
> 1. when an insert fails and didn't return an $id, FormBuilder was
> continuing to insert crosslinks, triplelinks and reverselinks with an
> empty $id.
Yes, we've know about this for a while. See bug 3096. I'm working on that now.
http://pear.php.net/bugs/bug.php?id=3096
> 2. A tiny notice fix I was getting when FormBuilder tested for
> $crossLink['type']
>
I've taken care of the notice with additions to the populateOptions()
method instead (it fills out the type if it's not filled out by the
developer). This should be in CVS soon.
> If these are incorrect fixes or there is a better way, please let me
> know so I can rollback and change appropriately.
>
--
Justin Patrin