[BUGFIX] Typo3DbQueryParser allows records with no child
Typo3DbQueryParser ignored records with no child records in some cases. This is mitigated by adding a correct WHERE condition for the match-field/parent evaluation. This effects TCA relations with MM_match_fields, foreign_match_fields or foreign_table_field. Resolves: #93337 Releases: main, 12.4, 11.5 Change-Id: Id4804ccb93252be32666ba74aa7c03dab25e6a92 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79145 Tested-by:core-ci <typo3@b13.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
Showing
- Build/phpstan/phpstan-baseline.neon 1 addition, 1 deletionBuild/phpstan/phpstan-baseline.neon
- typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php 28 additions, 27 deletions...lasses/Persistence/Generic/Storage/Typo3DbQueryParser.php
- typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/blogs.csv 1 addition, 0 deletions...t/extbase/Tests/Functional/Persistence/Fixtures/blogs.csv
- typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php 17 additions, 0 deletions.../extbase/Tests/Functional/Persistence/QueryParserTest.php
- typo3/sysext/extbase/Tests/Functional/Persistence/WorkspaceTest.php 4 additions, 3 deletions...xt/extbase/Tests/Functional/Persistence/WorkspaceTest.php
Please register or sign in to comment