Bug #83750
closedInlineControlContainer disrespects GeneralUtility::callUserFunction's signature
100%
Description
The variable `$customControlConfig` is an array:
GeneralUtility::callUserFunction however expects its first argument to be a string or a function but not an array:
This breaks the `customControls` feature of inline-Fields in TCA as documented here: https://docs.typo3.org/typo3cms/TCAReference/8.7/ColumnsConfig/Type/Inline.html#customcontrols
Instead of passing an array of arrays as requested by the docs, one could just pass an array of functions and/or function identifiers to work around this issue.
Tested with TYPO3 versions 8 and 9.
Updated by Xavier Perseguers over 6 years ago
- Status changed from New to Accepted
- Assignee set to Xavier Perseguers
In fact, the documentation is wrong, probably since TYPO3 v4.7. I can reproduce this bug in TYPO3 7.6 and code is still wrong on master branch.
Updated by Gerrit Code Review over 6 years ago
- Status changed from Accepted to Under Review
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/57525
Updated by Gerrit Code Review over 6 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/57525
Updated by Gerrit Code Review over 6 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/57525
Updated by Gerrit Code Review over 6 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/57525
Updated by Gerrit Code Review over 6 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57525
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57817
Updated by Xavier Perseguers over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d1ce4b2b07e0b61e4eb8feddc9595b79d9eaa226.
Updated by Anja Leichsenring over 6 years ago
- Related to Task #85913: Remove deprecation backported to v8 added