[BUGFIX] Flexform field is available but not passed to sub-function calls 77/21577/2
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:34:41 +0000 (21:34 +0200)
commit092dd93fe85d2252d02a5461ec0869a113ac738a
tree4ee717176ed3853a847646c23747aedaefc82b8e
parent426e319296f920060dde4de8a8c4dd799e795a46
[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/21577
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