[BUGFIX] Pass field name variable to flexform DS utility 90/30890/2
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:57 +0000 (21:34 +0200)
commit03a084e1210fcc19257554dd9210c28a498970e9
tree2a177127dbf8b879ccec29542bf06c1775e1512e
parent29b003017bc25e4208a965e94dd683780b1f34c1
[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/30890
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