Actions
Bug #99381
closedTCA columnsOverrides overrides default values set via defVals
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2022-12-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
Prerequisite¶
Given the following configuration:
TCA/tt_content/types/menu_pages/columnsOverrides/sys_language_uid/config =
default = 0
renderType = hidden
type = input
Test¶
When I create a record of type menu_pages in sys_language_uid = 4 via page module
Expectation¶
I expect the sys_language_uid is rendered as hidden field with value 4 in HTML of the editing form
Actual result¶
Currently the hidden field has the value 0
The reason for that is the change in #86876 which does not respect a default value set in "defaultValues"
Actions