Project

General

Profile

Actions

Bug #69183

closed

Story #69712: Further FormEngine development

Respect TCA option 'columnsOverrides' for server side field evaluations

Added by Sascha Egerer over 8 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Start date:
2015-08-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Remote Sprint

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',
        ),
    )
);


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #76671: columnsOverrides does not affect newly added inline elementsClosed2016-06-17

Actions
Related to TYPO3 Core - Bug #87364: Slug generation wizard ignores columnsOverrides of TCAClosed2019-01-08

Actions
Actions

Also available in: Atom PDF