Project

General

Profile

Actions

Bug #34556

closed

Nested IRRE elements are not removed

Added by Oliver Hader about 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Workspaces
Target version:
Start date:
2012-03-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Imagine a nested IRRE structure like Hotel->Offer->Price (taken form EXT:irre_tutorial) in the live workspace. Now the whole structure from the parent record including all child records is deleted on a custom workspace. Publishing the delete placeholders does not work for child records, only the parent gets removed and the children stay...

Since the parent record gets processed first, the "delete" action during publishing is forwared to all child records, but without the accordant publishing context. Thus, for removals it is now to be checked whether the record is marked to be removed and would be processed in the same publishing request, but just later.

How to test
Use the SVN Trunk version of EXT:irre_tutorial and run the 1nff/1nCSV tests (especially "areParentAndChildRecordsRemovedOnPublishingDeleteAction" test)
https://svn.typo3.org/TYPO3v4/Extensions/irre_tutorial/trunk/

Actions

Also available in: Atom PDF