Bug #81618
closedFormengine DataProvider TcaColumnsOverrides must be executed before TcaGroup
0%
Description
The FormDataProvider TcaColumnsOverrides
must be executed before TcaGroup
as the type of the field may be changed by TcaColumnsOverrides
.TcaGroup
does some desctructable actions on the result array that msut only be done if the field is a group field. If the type is changed via TcaColumnsOverrides
the data is already modified which ends up in a broken form (e.g. data cant be saved anymore and is lost after saving).
Adding a "filter" does also not work as the group provider is executed before the filter is registered.
'filter' => [ [ 'userFunc' => Vendor\\Extension\\MyClass::class . '->doFilter', 'parameters' => [ 'evaluateGender' => 'female', ], ], ],
Adding the dependency does currently end up in a cycle dependency.
Updated by Christian Kuhn over 7 years ago
That's hard: the TcaGroup provider is needed for recordTypeValue, which is needed by ColumnsOverrides provider.
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53526
Updated by Gerrit Code Review over 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53526
Updated by Gerrit Code Review about 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53526
Updated by Sascha Egerer about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 44d3753ba05529926148b6dd5e3a0c7414e10831.