[TYPO3-dev] Flexform > Section > File field: bug ?

Jerome Schneider typo3dev at ameos.com
Fri Mar 14 18:21:34 CET 2008


Ok I figured out the problem

The bug appeared in TYPO3 since version 4.1.3. I tested it in 4.1.2 and 
it worked.

After comparing sources, it appears that the bug was introduced at lines 
2141-2145( TYPO3 4.1.3) of file t3lib\class.t3lib_tcemain.php, in method 
checkValue_flex_procInData_travDS()


/-------- BUGGY CODE --------------
						
// It may happen that an element exists in $dataValues but is missing in 
$dataValues_current. In this case, just skip the element...

$elExists = is_array($dataValues_current[$key]['el'][$ik]);
if ($elExists && is_array($dataValues[$key]['el'][$ik][$theKey]['el'])){

/-------- BUGGY CODE --------------

I'll report this on BT.

Jerome

Martin Borer a écrit :
> Jerome Schneider schrieb:
>> Could anyone confirm this ?
> 
> No, had no problems with your flexform XML. Does Typo3 have write 
> permissions to fileadmin/user_upload? Didn't know that repeated sections 
> are possible with flexforms! GREAT! :)
> 
> By the way, if you handle large flv files, the feature I've described a 
> thread over your entry could be interessting for you! You can save a lot 
> of webspace with direct file references. ;)
> 
> Greets
> Martin




More information about the TYPO3-dev mailing list