Project

General

Profile

Actions

Bug #104646

open

Default value for type passthrough does not work when in columnsOverrides

Added by Nikita Hovratov 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2024-08-16
Due date:
% Done:

0%

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

Description

As the title says, TCA type "passthrough" has not its default value set, when this value is defined in types/columnsOverrides.
The reason is the DataProvider for the default value is executed before the columnsOverrides provider, so at this point the default value is empty.
Normally this is overridden when fields are rendered in the form with their according default value.
But type passthrough is not rendered and so this does not apply.

Fixes could be either try to change the order of data providers (quick try resulted in Cyclic dependency issue) or render a hidden field with the default value (this could be restricted to NEW records).


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #103492: TCA columnsOverrides not considered when creating new page by drag and dropNew2024-03-27

Actions
Actions #1

Updated by Garvin Hicking 3 months ago

  • Category set to DataHandler aka TCEmain
Actions #2

Updated by Benjamin Franzke about 2 months ago

  • Related to Bug #103492: TCA columnsOverrides not considered when creating new page by drag and drop added
Actions

Also available in: Atom PDF