ReferenceIndex doesn't take care if softref value is changed in columnsOverrides for a particular type
Database API (Doctrine DBAL)
It's not possible to override the TCA
softref config option for a specific type of a table.
Real world example:
- Add a new page type
- Override the softref value to
typolinkfor that specific type
- no softref will be added after saving the record due to the fact that the default TCA value for the sofref value
urlwill be used
ToDo(s) / Questions¶
- Of course it would be really cool when the ReferenceIndex supports "each" type of "TCA overriding ways"
- On the other side it does not hurt if I override the default value in my extension, since it will be O.K. that softref checks for multiple types of soft references
#3 Updated by Oliver Bartsch 17 days ago
The evaluation taking place in
doesn't consider the
like you would get it from the FormDataProviders but directly accesses
the columns config without further processing of e.g. columnsOverrides or OverrideChildTca.
$conf = $GLOBALS['TCA'][$table]['columns'][$field]['config'];