Commit 8074202d authored by Maik Schneider's avatar Maik Schneider Committed by Richard Haeser
Browse files

[BUGFIX] Respect default values in TcaGroup

RelationHandler cannot handle vanilla uids, pass 0 instead to correctly parse defVals for MM-relations in TCA type=group

Resolves: #93289
Releases: master, 10.4, 9.5
Change-Id: I5258bbc5ef164fc9ed2d14ed1062b54e1f9eec92

Tested-by: core-ci's avatarcore-ci <>
Tested-by: Richard Haeser's avatarRichard Haeser <>
Reviewed-by: Richard Haeser's avatarRichard Haeser <>
parent 17df6b72
......@@ -130,12 +130,15 @@ class TcaGroup implements FormDataProviderInterface
// In case of vanilla uid, 0 is used to query relations by splitting $databaseRowFieldContent (possible defVals)
$MMuid = MathUtility::canBeInterpretedAsInteger($result['databaseRow']['uid']) ? $result['databaseRow']['uid'] : 0;
$relationHandler = GeneralUtility::makeInstance(RelationHandler::class);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment