Bug #25352
closedRemoving child records in a workspace does not work
100%
Description
The following issues on removing IRRE child records in a workspace(!) have been identified:
1) Removing children in TCEforms
Parent
+ Child A
+ Child A.A
+ Child A.B
+ Child B
On removing the branch of "Child A" (including both sub-children), the
"Child A" as well as the sub-children "A.A" and "A.B" do not appear in
the workspace module as removed or modified.
2) Removing children in the list view
(same structure as shown at the first point)
On again removing the branch of "Child A", the "Child A" is shown as
removed, but the sub-children "A.A" and "A.B" are shown with regular
modifications, but not as deleted.
3) Reverting changes in the workspace module
Now imagine the the top-parent "Parent" gets removed and this change to
the "Parent" will be reverted in the workspace module. Then this should
automatically also affect all children.
(issue imported from #M17981)
Updated by Oliver Hader over 13 years ago
- submit "data" parameters of the visible elements and "cmd" parameters of the deleted child record to TCEmain
- process_datamap is called before process_cmdmap (thus, removing happens later)
- process_datamap then will create a new version of the child record
- process_cmdmap will remove the created version of the previous step, but thus won't create the delete placeholder
To cirumvent this and the nested TCEmain objects inside TCEmain, I needed a way to keep the information about elements that will be deleted to skip them.
It might be difficult to introduce this to TYPO3 4.5 - however something like this is required here and I did not want to start with anonymous objects or a new $GLOBAL array...
Updated by Steffen Kamper over 13 years ago
As this is a very complex issue, could you add a step-by-step reproduce info, i guess with the IRRE-tutorial extension? i would like to verify this issue.
Updated by Mr. Hudson over 13 years ago
Patch set 11 of change I91313235e57c193e7103d065c02d2005ef74ab86 has been pushed to the review server.
It is available at http://review.typo3.org/1195
Updated by Mr. Hudson over 13 years ago
Patch set 12 of change I91313235e57c193e7103d065c02d2005ef74ab86 has been pushed to the review server.
It is available at http://review.typo3.org/1195
Updated by Mr. Hudson over 13 years ago
Patch set 13 of change I91313235e57c193e7103d065c02d2005ef74ab86 has been pushed to the review server.
It is available at http://review.typo3.org/1195
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change I79904c636772f6fcd7fcfe1fc6e136e9e2e19d98 has been pushed to the review server.
It is available at http://review.typo3.org/1986
Updated by Oliver Hader over 13 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset 9f7cc16899c3c7942681cdea49ccc5657994012d.