Bug #59423
closedField name not passed to getFlexFormDS in copyRecord_procBasedOnFieldType
100%
Description
As title says, DataHandler's copyRecord_procBasedOnFieldType method itself receives the $field variable containing the name of the column in the record to which the flexform belongs, but does not pass this $field variable to BackendUtility::getFlexFormDS which means dynamic flexforms that depend on the field name, behave in unexpected ways when a record is copied and multiple flexform DS definitions exist for that record for separate fields (symptom: incorrect DS is loaded, resulting in incorrect detection of for example file fields, in turn causing ill effects such as incorrectly handled relations and bad validation).
Fixing the problem is as easy as adding the $field parameter when calling BackendUtility::getFlexFormDS.
Updated by Gerrit Code Review over 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30633
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30633
Updated by Gerrit Code Review over 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30633
Updated by Gerrit Code Review over 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30633
Updated by Gerrit Code Review over 10 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30633
Updated by Gerrit Code Review over 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30890
Updated by Gerrit Code Review over 10 years ago
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30891
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30891
Updated by Anonymous over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7f4cc74e8b6687fe3d74a6a3977247630668c768.