Story #69712: Further FormEngine development
columnsOverrides does not affect newly added inline elements
In 7.6 I'm using the "columnsOverrides" feature to remove the link and description fields from tt_content's image field for certain ctypes, like so;
This works perfectly when I go to edit an element with an image already attached.
But when I add a new image (before saving) the link and description fields are shown until I save.
[BUGFIX] Do not compile parent config in inline ajax controller
Using the signed parent tca config incoming via ajax request in the
inline ajax controller solves a series of issues in 'new' and other
The expensive calculation of inline parent TCA config within the
controller can be dropped.
Reviewed-by: Anja Leichsenring <firstname.lastname@example.org>
Tested-by: Anja Leichsenring <email@example.com>
Tested-by: TYPO3com <firstname.lastname@example.org>
Reviewed-by: Tobi Kretschmann <email@example.com>
Tested-by: Tobi Kretschmann <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>
#1 Updated by Christian Kuhn over 3 years ago
- Tracker changed from Bug to Feature
- Priority changed from Should have to Won't have this time
- Parent task set to #69712
- Complexity set to hard
Yes, that's correct.
It is currently impossible to overwrite the TCA of inline children via "foreign_types" (and some other TCA settings that affect the TCA of inline children) depending on the type of the parent: Using those settings within columnsOverrides will have no effect. Background is that the parent type is not always known when i child is created, for instance if the parent is "new" and not yet persisted. This restriction can not be solved easily.
Since the columnsOverrides construct is new in 7.6 and provides more than it has been possible with 6.2, this report is rather a feature request that a bug or regression.
I'll keep it open but assign it to the parent issue "further formengine development".