[BUGFIX] Pass field name variable to flexform DS utility 33/30633/6
authorClaus Due <claus@namelesscoder.net>
Mon, 9 Jun 2014 21:30:37 +0000 (23:30 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Thu, 19 Jun 2014 19:34:40 +0000 (21:34 +0200)
commit4436848eddfd2d18bacfa372ec705da19c769ce4
treef7d9bd6bcb4b68d49c29ff2b3460134a8ac848c6
parentc8a726a65f5c200d70be36b4d571eee3fc74337e
[BUGFIX] Pass field name variable to flexform DS utility

A field name parameter is not being passed from within
DataHandler when copying a record which has a FlexForm
DF associated with it. This causes dynamic FlexForm DS
definitions to not be able to depend on the field name,
in turn causing the problem that an incorrect DS may be
returned from the DS utility which makes TYPO3 process
the data value incorrectly (for example, not detecting
file fields and processing the values accordingly).

To solve this the $field parameter is passed.

Resolves: #59423
Releases: 6.3, 6.2, 6.1
Change-Id: Icfafd553f76e17ad5db651bb3f5dea52b140dcf7
Reviewed-on: https://review.typo3.org/30633
Reviewed-by: Cedric Ziel
Tested-by: Cedric Ziel
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/backend/Classes/Form/Element/SuggestElement.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/impexp/Classes/ImportExport.php