[TYPO3-project-formidable] Bug in rev 345 when using 'remote'
Gary Wong
gary.wong at spingroup.com
Wed Jul 15 01:18:54 CEST 2009
Hello!
I have been playing with the remote form and this bit of code is
definitely causing it to break. I downloaded the latest (rev 367) as of
today and the function hasn't changed.
I tried troubleshooting the code but it's just too deep for me! :-)
Anyone want to take a look?
Thank you,
Gary
Albert van der Veen wrote:
> Hi Jerome,
>
> There's a bug in the function 'hasSubmitted' in class.mainrenderlet.php.
> This will always return false, if $sFormId === FALSE && $sAbsName ===
> FALSE. However, as this function is called in
> shouldUpdateCriteriasRemoteReceiver() in class.tx_rdtserachform as
>
> $this->oForm->aORenderlets[$sAbsName]->hasSubmitted($sFormId,
> $sRemoteAbsName)
>
> to determine whether the criteria's should be updated, these never will
> be updated. Using a remote form thus doesn't work in rev 345.
>
> Not sure why the check $sFormId === FALSE && $sAbsName === FALSE is in
> 'hassubmitted', I guess something is missing from the code as the above
> mentioned case is not handled correctly.
>
> regards,
> Albert
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
>
More information about the TYPO3-project-formidable
mailing list