[TYPO3-project-formidable] Bug with ameos_formidable and PHP version 5.2.4
Rene Nitzsche
rene at system25.de
Fri Mar 14 12:34:47 CET 2008
Hello,
I'm using ameos_formidable with PHP version 5.2.1 and 5.2.4 (windows and
linux). With 5.2.4 occurs a mayday on the initial form load after the
form xml was changed. If you deactivate the ameos_formidable cache the
mayday is permanent. With 5.2.1 everything is fine.
The mayday message is: TYPE is not associated to any renderers
After a page reload (if caching is enabled) the formular is rendered.
So I debugged the problem and found the reason. It seems to be that the
PHP-Guys changed the behavier of arrays. Because the array is not
reseted automatically after the initial load. You have to do it yourself:
In class tx_ameosformidable method div_xml2array() line 6972 (SVN
Revision 176).
This is the end of case 'close'. Simply add
reset($xml);
and the mayday disappears.
Regards,
René
More information about the TYPO3-project-formidable
mailing list