[TYPO3-project-formidable] Bug in rev 345 when using 'remote'

Albert van der Veen albert.van.der.veen at xs4all.nl
Fri Jun 26 14:39:40 CEST 2009


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


More information about the TYPO3-project-formidable mailing list