Issue Bug Closed

#69183Respect TCA option 'columnsOverrides' for server side field evaluations

Sascha Egerer 08/19/15, 12:08 updated 04/01/20, 21:14

Description

With the TCA value columnsOverrides field configurations can be overwritten. This works for the Formengine stuff.
The field evaluation with the eval option can also be overwritten. But only the client side evaluation respects this setting as this is renderd trough the form enginge.
The server side evaluations are not respected as the `columnsOverrides` is not merged there.

This works:

$GLOBALS['TCA']['tt_content']['types']['text']['columnsOverrides'] = array(
    'header_link' => array(
        'config' => array(
            'eval' => 'trim,required',
        ),
    )
);

This does not work (evaluating the the value is an email address which is done on the server side):

$GLOBALS['TCA']['tt_content']['types']['text']['columnsOverrides'] = array(
    'header_link' => array(
        'config' => array(
            'eval' => 'trim,required,email',
        ),
    )
);

Reviews 1