Issue Bug Closed

#103464Using TCEFORM on columnsOverrides is not alway reliable

Anonymous 03/22/24, 08:21 updated 10/22/26, 18:43

Description

When setting in $GLOBALS[‘TCA’][‘tt_content’][‘types’][‘text’]:

'columnsOverrides' => [
            'subheader' => [
                'config' => [
                    'size' => 1,
                    'max' => 1
                ]
            ]
        ]

And using TCEFORM to override the override

TCEFORM.tt_content {
  subheader.types.text.config.max = 98
  subheader.types.text.config.size = 20
}

It does allow writing more than on char but it does crop after saving, which should not be.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 4

  1. Georg Ringer commented <span data-processor="relativetime" data-value="2025-03-02T20:24:34+00:00" > 03/02/25, 20:24 </span>

    confirmed in main. problem is IMHO in \TYPO3\CMS\Core\DataHandling\DataHandler::checkValueForInput which gets the tcaconfig which misses the tsconfig

  2. Benni Mack commented <span data-processor="relativetime" data-value="2025-03-03T13:06:04+00:00" > 03/03/25, 13:06 </span>

    Georg Ringer wrote in #note-1:
    > confirmed in main. problem is IMHO in \TYPO3\CMS\Core\DataHandling\DataHandler::checkValueForInput which gets the tcaconfig which misses the tsconfig

    We did have this in the past (= issues as such). The reasoning back then for not fixing was that “TCEFORM” explains FormEngine, and NOT TCEMAIN / DataHandler… the correct solution would then to introduce new settings which are respected everywhere.

    For this reason e.g. TCAdefaults is taken into account, but NOT TCEFORM.

    I suggest adding a new field for this use-case btw…

  3. Benni Mack commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2025-04-22T10:05:19+00:00" > 04/22/25, 10:05 </span>

    Does my input work for you?

  4. Georg Ringer commented and changed status Needs Feedback Closed <span data-processor="relativetime" data-value="2026-10-22T18:43:49+00:00" > 10/22/26, 18:43 </span>

    closing as no feedback