[TYPO3] dynaflex Bug

Nikolas Hagelstein hagelstein at shr.cc
Thu Aug 10 14:15:23 CEST 2006


Hi,

according to the dynflex manual the following dummy needs 
to be created:
'default' => '<T3DataStructure>' .
'    <meta>' .
'        <langDisable>1</langDisable>' .
'    </meta>' .
'    <ROOT>' .
'        <type>array</type>' .
'        <el>' .
'            <dummy></dummy>' .
'        </el>' .
'    </ROOT>' .
'</T3DataStructure>'

this will result in 
!Fatal error: Cannot use string offset as an array in
class.t3lib_transferdata.php on line 616!

because it makes
616: if (is_array($dsConf['TCEforms']['config']) &&
is_array($dataValues[$key])) {

fail on php5 since $dsConf is no array for the dummy element.

workaround:
<dummy type="array"></dummy>


Cheers,
		Nikolas



More information about the TYPO3-english mailing list