Review 13.4 Abandoned

96709[BUGFIX] Respect enable field settings for Extbase MM relations

Garvin Hicking CR 0 V 0 Normal +126 −0 updated 10/15/26, 08:17

Commit message

Extbase resolves MM relations with a query whose source is a join
of the MM table and the child table. For such queries, the Doctrine
QueryBuilder kept its DefaultRestrictionContainer, so "deleted",
"hidden", "starttime" and "endtime" of the child table were always
added to the join condition.

The query settings "ignoreEnableFields" and "enableFieldsToBeIgnored"
had no effect on these relations, hidden related records could never
be fetched and the "deleted" constraint ended up twice in the query.

The default restrictions are now removed for join queries as well,
as it is already done for regular queries. The visibility is then
handled by Extbase alone, based on the query settings.

Review

  • Code review CR 0
  • Verified V 0

Issues 2

Files 3

Review log 3

  1. Garvin Hicking commented on patch set 1 10/15/26, 08:16

    Cherry Picked from branch main. The following files contain Git conflicts: * typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php
  2. Garvin Hicking wrote 10/15/26, 08:16

    Topic set to #no-backport
  3. Garvin Hicking abandoned the change 10/15/26, 08:17

    won't do even though listed in Releases: