[BUGFIX] Flexform field is available but not passed to sub-function calls 74/21574/5
authorClaus Due <claus@wildside.dk>
Fri, 21 Jun 2013 18:47:45 +0000 (20:47 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 21 Jun 2013 19:23:50 +0000 (21:23 +0200)
commitafd8318a8ac0770d9ef9a9efebe11565466d5cc6
treebb58994904921523544e4e32f00cd59d1a7af848
parent6f8407e348ba5858719863b5cd7057e42c0f0a0b
[BUGFIX] Flexform field is available but not passed to sub-function calls

This change fixes three occurrences of calls to FlexForm DS
processing methods which accept a $fieldName argument but in
the current state of the code is given an empty string instead
of the $field variable which exists in all three contexts and
contains the proper value.

Passing the field name along to these sub functions allows hook
subscribers to use the field name - among other things. In any
case this fixes an unexpected behaviour turning it into an
expected one.

Resolves: #49331
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I078b0734f3bfa74a9acd61773c5c380f091286f8
Reviewed-on: https://review.typo3.org/21574
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/Database/ReferenceIndex.php