[TYPO3-dev] 4.5.19: loadTCA infinity loop/recursion

Fritz-Michael Gschwantner email at spikx.net
Thu Jun 27 14:52:05 CEST 2013


We use a custom extension within a Typo3 4.5.19 system in which we can define Newsletters and its Articles. All objects and tables are defined by TCAs. The Newsletters and Articles are created via the Backend functions. New data records can be defined via the regular Backend forms (which are saved in a system folder).

However, since a few weeks or so, the Typo3 PHP script runs infinitely long at one point, when trying to save such a data record. After 10 newly created data sets, nothing happens when saving. The typoe/alt_doc.php call (made by the form) runs infinitely long (until max_execution_time). Through debugging we determined, that at some point the t3lib_div::loadTCA function is called over and over and over again.

The call simplified call stack looks as follows:

SC_alt_doc::makeEditForm()
-> t3lib_transferData::fetchRecord()
---> t3lib_div::loadTCA()

So after the t3lib_div::loadTCA() function is called one time at the beginning of the t3lib_transferData::fetchRecord() function, it appears to be called infinitely in a recursion.

But it only occurs after making 10 (or less) data record entries, within one server session. It continues to happen until that session is destroyed (or until a long time has passed). Currently we have no clue to what is going on and why this happens. May be someone has an idea?



More information about the TYPO3-dev mailing list