Actions
Bug #104646
openDefault value for type passthrough does not work when in columnsOverrides
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).
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