[BUGFIX] Properly update reference index when deleting children
When deleting children in a relation, reference index rows pointing to a child must be updated, otherwise dangling reference index rows are left, leading to all kinds of trouble. Change-Id: I8e8086846ae53c5a32aafc553b6ea66d4a17d7fb Resolves: #67676 Releases: master, 10.4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65809 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 28 additions, 1 deletiontypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Tests/Functional/DataHandling/FAL/AbstractActionTestCase.php 21 additions, 0 deletions...ts/Functional/DataHandling/FAL/AbstractActionTestCase.php
- typo3/sysext/core/Tests/Functional/DataHandling/FAL/Modify/ActionTest.php 10 additions, 0 deletions...e/Tests/Functional/DataHandling/FAL/Modify/ActionTest.php
- typo3/sysext/core/Tests/Functional/DataHandling/FAL/Modify/DataSet/createContentWFileReferenceNDeleteFileReference.csv 17 additions, 0 deletions...taSet/createContentWFileReferenceNDeleteFileReference.csv
- typo3/sysext/core/Tests/Functional/DataHandling/FAL/Modify/DataSet/modifyContentNDeleteAllFileReference.csv 0 additions, 2 deletions...L/Modify/DataSet/modifyContentNDeleteAllFileReference.csv
- typo3/sysext/core/Tests/Functional/DataHandling/FAL/Modify/DataSet/modifyContentNDeleteFileReference.csv 1 addition, 2 deletions.../FAL/Modify/DataSet/modifyContentNDeleteFileReference.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Group/DataSet/ReferenceIndex.csv 1 addition, 0 deletions.../Functional/DataHandling/Group/DataSet/ReferenceIndex.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Group/Modify/DataSet/deleteElementOfRelation.csv 3 additions, 2 deletions...Handling/Group/Modify/DataSet/deleteElementOfRelation.csv
- typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNDeleteHotelChild.csv 0 additions, 1 deletion...ignField/Modify/DataSet/modifyParentNDeleteHotelChild.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Select/DataSet/ReferenceIndex.csv 1 addition, 0 deletions...Functional/DataHandling/Select/DataSet/ReferenceIndex.csv
- typo3/sysext/core/Tests/Functional/DataHandling/Select/Modify/DataSet/deleteElementOfRelation.csv 2 additions, 2 deletions...andling/Select/Modify/DataSet/deleteElementOfRelation.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/Discard/ActionTest.php 11 additions, 0 deletions.../Tests/Functional/DataHandling/FAL/Discard/ActionTest.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/Discard/DataSet/createContentWFileReferenceNDeleteFileReference.csv 30 additions, 0 deletions...taSet/createContentWFileReferenceNDeleteFileReference.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/Modify/ActionTest.php 10 additions, 0 deletions...s/Tests/Functional/DataHandling/FAL/Modify/ActionTest.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/Modify/DataSet/createContentWFileReferenceNDeleteFileReference.csv 32 additions, 0 deletions...taSet/createContentWFileReferenceNDeleteFileReference.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/Publish/ActionTest.php 11 additions, 0 deletions.../Tests/Functional/DataHandling/FAL/Publish/ActionTest.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/Publish/DataSet/createContentWFileReferenceNDeleteFileReference.csv 31 additions, 0 deletions...taSet/createContentWFileReferenceNDeleteFileReference.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/PublishAll/ActionTest.php 11 additions, 0 deletions...sts/Functional/DataHandling/FAL/PublishAll/ActionTest.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/PublishAll/DataSet/createContentWFileReferenceNDeleteFileReference.csv 31 additions, 0 deletions...taSet/createContentWFileReferenceNDeleteFileReference.csv
Please register or sign in to comment