Bug #75946
closedExtensionManagementUtility won't insert fields in the right position if the position parameter is set
100%
Description
If \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes()
is being used to add custom fields to a table by using the 4th parameter
which defines the position the fields will be appended to the end of the "showitem" string nevertheless.
An example tca overrides looks like this:
$tempCols = [ 'myfield' => array( 'label' => 'MYSUPERFIELD', 'config' => array( 'type' => 'input', 'size' => '20', 'eval' => 'trim' ) ), ] \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages', $tempCols); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('pages', 'myfield', '', 'after:title');
Updated by Markus Klein over 8 years ago
- Status changed from New to Needs Feedback
I use this API hundreds of times and I don't have any problems. Maybe some other ext is overriding your TCA again?
(check the order how extensions are loaded in the PackageStates.php)
Updated by Gerrit Code Review over 8 years ago
- Status changed from Needs Feedback 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/47935
Updated by Gerrit Code Review over 8 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/47935
Updated by Gerrit Code Review over 8 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/47935
Updated by Gerrit Code Review over 8 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/47935
Updated by Gerrit Code Review over 8 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/47935
Updated by Gerrit Code Review over 8 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/47935
Updated by Gerrit Code Review over 8 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47935
Updated by Gerrit Code Review over 8 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47935
Updated by Oliver Hader over 8 years ago
- Target version set to next-patchlevel
- Is Regression changed from No to Yes
Updated by Gerrit Code Review over 8 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47935
Updated by Gerrit Code Review over 8 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47952
Updated by Thomas Schlumberger over 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9ec641257d374269a971e1ac3f005cb2b7c2bf45.