Bug #21259
closedForms using dataArray do not show any field
0%
Description
When a FORM is set using Typoscript, if it uses the 'dataArray' property, the form will lack its fields. It doesn't happen the property 'data' is used instead.
The same typoscript shows the fields in typo3 4.1.10.
Debugging the output it appears that the function 'sortedKeyList', at class.t3lib_tstemplate.php, returns the keys with a final dot at version 4.3.0 beta1, while at version 4.1.10 it didn't.
As a result, the 'FORM' function at class.tslib_content.php, at the line that says:
...
foreach ($sKeyArray as $theKey) {
$dAA = $conf['dataArray.'][$theKey.'.']; <------- HERE
...
will try to look for the wrong key, example: '100..', with two (2) points instead of one!!!
When the function sortedKeyList', at class.t3lib_tstemplate.php, from version 4.3.0 whas rewritten with the old one, the FORM started showing the fields.
(issue imported from #M12217)