Project

General

Profile

Actions

Bug #105820

open

Option "max" is used to determine db column length

Added by Nikita Hovratov about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2024-12-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The TCA option max was always used to validate the number of characters of a simple text field.
But now it is also used to determine the column length of the db field.
This is problematic, since the max option can also be used in columnsOverrides.
Scenario: A field is defined in base TCA with max "20" and another element uses columnsOverrides to set it to "40" this will not work, because the database field will not change in size.
A proper solution would be to add an additional option "dbLength", like it was done for type select.
This way it would be possible to set a definite max value, restricted by db and an alternative max value (possibly smaller) with max.

Actions #1

Updated by Garvin Hicking about 1 month ago

  • Category set to FormEngine aka TCEforms
Actions

Also available in: Atom PDF