Bug #73751
columnsOverrides don't work with IRRE Elements
0%
Description
I tried to override the assets in tt_content with:
'columnsOverrides' => array( 'assets' => array( 'config' => array( 'foreign_types' => array( 0 => array( 'showitem' => '--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette,my_field' ), 1 => array( 'showitem' => '--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette,my_field' ), 2 => array( 'showitem' => '--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette,my_field' ), 3 => array( 'showitem' => '--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette,my_field' ), 4 => array( 'showitem' => '--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette,my_field' ), 5 => array( 'showitem' => '--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette, --palette--;;filePalette,my_field' ), ) ) ), ),
On create it works fine, but on reopen it (details) it doesn't show my_field.
Related issues
History
#1
Updated by Christian Kuhn almost 3 years ago
- Status changed from New to Rejected
yes. columnsOverrides on parent to change tca of irre children does not work. this limitation is hard to solve and will not be changed soon. i'll close this issue as rejected for now.
#2
Updated by Witali Rott almost 3 years ago
- File FormInlineAjaxController.php.patch View added
Working Patch included.
Based on https://forge.typo3.org/issues/71436
#3
Updated by XIMA MEDIA GmbH almost 3 years ago
The patch #2 does not work. The 500 error still exists with TYPO3 7.6.4.
#4
Updated by ondro no-lastname-given almost 3 years ago
With the combination of patch from here [[https://forge.typo3.org/issues/71436]]
FormInlineAjaxController.php.patch Magnifier - Patch for TYPO3 7.6.3-7.6.4 (1.6 kB) Witali Rott, 2016-02-23 12:52
It works for me in typo3 v 7.6.5
#5
Updated by Philipp Kitzberger over 2 years ago
- File FormInlineAjaxController.php.patch View added
I just attached a patch that combines the two patches from #71436 and here. Works for me in TYPO3 7.6.9.
#6
Updated by Philipp Kitzberger over 2 years ago
I'd like to see this issue reopened and the patches taken into consideration for the current LTS since it's obviously a bug. I can confirm the patches to be working for at least two of our projects.
#7
Updated by Ingo Dirscherl over 2 years ago
Hey Christian, please can you have a look on the patches from Philipp Kitzberger. Maybe this is the Solution for this bug. It would be fine to patch it in the core. Thanks so much
#8
Updated by Nicole Cordes over 2 years ago
AFAIK you can push the patch to Gerrit (our review system) which would re-open this ticket automatically.
#9
Updated by Markus Kobligk over 2 years ago
Can anyone please push the patch to Gerrit?
I can confirm this patch works, we use it in production systems and for every new project.
#10
Updated by Leonie Philine Bitto over 1 year ago
bump Please merge into the core!
This patch also fixes https://forge.typo3.org/issues/71436 (confimed on TYPO3 7.6.18)