[BUGFIX] Nested IRRE elements are not removed
authorOliver Hader <oliver@typo3.org>
Tue, 6 Mar 2012 22:14:54 +0000 (23:14 +0100)
committerOliver Hader <oliver@typo3.org>
Mon, 12 Mar 2012 16:06:19 +0000 (17:06 +0100)
commit3250c609bc2a4faa68fbcd1478732bff6b1a88d5
tree665d5750d08396fec8b2a415006c81c4e87f06cc
parent6ab42da1b4ce202f6d83d4bede6e8823a5cd4fc2
[BUGFIX] Nested IRRE elements are not removed

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.

Change-Id: If5741f5354507938eb4ddbe2015112acc47bccce
Fixes: #34556
Releases: 4.5, 4.6, 4.7
Reviewed-on: http://review.typo3.org/9447
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/version/class.tx_version_tcemain.php