[TASK] Add Publish and PublishAll DataHandler workspaces tests 36/28236/4
authorOliver Hader <oliver@typo3.org>
Tue, 11 Mar 2014 19:46:27 +0000 (20:46 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 11 Mar 2014 22:52:39 +0000 (23:52 +0100)
Extend current functional action tests with those actions:
* modification (Modify)
* publish single records (Publish)
* publish all records in a workspace (PublishAll)

The Publish and PublishAll tasks extend the accordant basic
Modify functional tests.

Resolves: #56708
Related: #56710
Releases: 6.2
Change-Id: I1f7a70df39585c29b3b4ff5675b5147610f254f2
Reviewed-on: https://review.typo3.org/28236
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
385 files changed:
typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php
typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecords/ImportInEmptyDatabaseTest.php
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContent/ImportInEmptyDatabaseTest.php
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportInEmptyDatabaseTest.php
typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/ImportInFilledDatabaseTest.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/changeParentContentSorting.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyPage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyParentContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildren.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildren.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createParentContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createParentContentNHotelNOfferChildren.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deletePage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deleteParentContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deleteParentContentNDiscardDeletedParent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/localizeParentContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyOnlyHotelChild.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyPage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNAddHotelChild.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNChangeHotelChildrenSorting.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNDeleteHotelChild.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNHotelChild.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNHotelChildNDiscardAll.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNHotelChildNDiscardModifiedParent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/moveParentContentToDifferentPage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/moveParentContentToDifferentPageNChangeSorting.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/LiveDefaultElements.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/LiveDefaultPages.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/ReferenceIndex.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/LiveDefaultElements.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/LiveDefaultPages.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/ActionTest.php [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/changeParentContentSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNCopyParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deletePage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deleteParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deleteParentContentNDiscardDeletedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/localizeParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyOnlyHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNAddHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNChangeHotelChildrenSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNDeleteHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNHotelChildNDiscardAll.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNHotelChildNDiscardModifiedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/moveParentContentToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/moveParentContentToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/ActionTest.php [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/changeParentContentSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/copyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/copyParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createNCopyParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/deletePage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/deleteParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/deleteParentContentNDiscardDeletedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/localizeParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyOnlyHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNAddHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNChangeHotelChildrenSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNDeleteHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNHotelChildNDiscardAll.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNHotelChildNDiscardModifiedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/moveParentContentToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/moveParentContentToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/ActionTest.php [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/changeParentContentSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/copyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/copyParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/createNCopyParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/createParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/createParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/deletePage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/deleteParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/deleteParentContentNDiscardDeletedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/localizeParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/modifyOnlyHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/modifyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/modifyParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/modifyParentNAddHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/modifyParentNChangeHotelChildrenSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/modifyParentNDeleteHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/modifyParentNHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/modifyParentNHotelChildNDiscardAll.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/modifyParentNHotelChildNDiscardModifiedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/moveParentContentToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/moveParentContentToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/WorkspaceActionTest.php [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/changeParentContentSorting.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/copyPage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/copyParentContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildren.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildren.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createParentContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/createParentContentNHotelNOfferChildren.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/deletePage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/deleteParentContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/deleteParentContentNDiscardDeletedParent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/localizeParentContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyOnlyHotelChild.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyPage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNAddHotelChild.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNChangeHotelChildrenSorting.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNDeleteHotelChild.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNHotelChild.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNHotelChildNDiscardAll.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/modifyParentNHotelChildNDiscardModifiedParent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/moveParentContentToDifferentPage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/moveParentContentToDifferentPageNChangeSorting.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/LiveDefaultElements.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/LiveDefaultPages.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/ReferenceIndex.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Scenario/LiveDefaultElements.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Scenario/LiveDefaultPages.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/ActionTest.php [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/changeParentContentSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/copyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/copyParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createNCopyParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/createParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/deletePage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/deleteParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/deleteParentContentNDiscardDeletedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/localizeParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyOnlyHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNAddHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNChangeHotelChildrenSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNDeleteHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNHotelChildNDiscardAll.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/modifyParentNHotelChildNDiscardModifiedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/moveParentContentToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Modify/DataSet/moveParentContentToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/ActionTest.php [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/changeParentContentSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/copyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/copyParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/createNCopyParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/createParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/createParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/deletePage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/deleteParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/deleteParentContentNDiscardDeletedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/localizeParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/modifyOnlyHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/modifyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/modifyParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/modifyParentNAddHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/modifyParentNChangeHotelChildrenSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/modifyParentNDeleteHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/modifyParentNHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/modifyParentNHotelChildNDiscardAll.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/modifyParentNHotelChildNDiscardModifiedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/moveParentContentToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/moveParentContentToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/ActionTest.php [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/changeParentContentSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/copyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/copyParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/createNCopyParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/createParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/createParentContentNHotelNOfferChildren.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/deletePage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/deleteParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/deleteParentContentNDiscardDeletedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/localizeParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/modifyOnlyHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/modifyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/modifyParentContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/modifyParentNAddHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/modifyParentNChangeHotelChildrenSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/modifyParentNDeleteHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/modifyParentNHotelChild.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/modifyParentNHotelChildNDiscardAll.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/modifyParentNHotelChildNDiscardModifiedParent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/moveParentContentToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/PublishAll/DataSet/moveParentContentToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/WorkspaceActionTest.php [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/addCategoryRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/changeCategoryRelationSorting.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/copyCategoryOfRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/copyContentOfRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/createCategoryNAddRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/createCategoryNCreateRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/createContentNAddRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/createContentNCreateRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/deleteCategoryOfRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/deleteCategoryRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/deleteContentOfRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/localizeCategoryOfRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/localizeContentOfRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/modifyBothsOfRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/modifyCategoryOfRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/modifyContentOfRelation.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/moveContentOfRelationToDifferentPage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/LiveDefaultElements.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/LiveDefaultPages.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/ReferenceIndex.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Scenario/LiveDefaultElements.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/DataSet/Scenario/LiveDefaultPages.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/ActionTest.php [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/addCategoryRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/changeCategoryRelationSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/copyCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/copyContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/createCategoryNAddRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/createCategoryNCreateRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/createContentNAddRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/createContentNCreateRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/deleteCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/deleteCategoryRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/deleteContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/localizeCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/localizeContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/modifyBothsOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/modifyCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/modifyContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Modify/DataSet/moveContentOfRelationToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/ActionTest.php [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/addCategoryRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/changeCategoryRelationSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/copyCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/copyContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/createCategoryNAddRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/createCategoryNCreateRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/createContentNAddRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/createContentNCreateRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/deleteCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/deleteCategoryRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/deleteContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/localizeCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/localizeContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/modifyBothsOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/modifyCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/modifyContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/Publish/DataSet/moveContentOfRelationToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/ActionTest.php [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/addCategoryRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/changeCategoryRelationSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/copyCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/copyContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/createCategoryNAddRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/createCategoryNCreateRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/createContentNAddRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/createContentNCreateRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/deleteCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/deleteCategoryRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/deleteContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/localizeCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/localizeContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/modifyBothsOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/modifyCategoryOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/modifyContentOfRelation.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/PublishAll/DataSet/moveContentOfRelationToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/WorkspaceActionTest.php [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/changeContentSorting.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/changePageSorting.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/copyContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/copyPage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/createContentNDiscardCreatedContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/createContents.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/createNCopyContentNDiscardCopiedContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/createPage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/deleteContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/deletePage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/localizeContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/localizePage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/modifyContent.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/modifyPage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/moveContentToDifferentPage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/moveContentToDifferentPageNChangeSorting.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/movePageToDifferentPage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/movePageToDifferentPageNChangeSorting.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/movePageToDifferentPageNCreatePageAfterMovedPage.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/LiveDefaultElements.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/LiveDefaultPages.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/ReferenceIndex.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Scenario/LiveDefaultElements.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Scenario/LiveDefaultPages.csv [deleted file]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/changeContentSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/changePageSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/copyContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/copyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/createContentNDiscardCreatedContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/createContents.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/createNCopyContentNDiscardCopiedContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/createPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/deleteContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/deletePage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizeContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/modifyContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/modifyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/moveContentToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/moveContentToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/movePageToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/movePageToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/movePageToDifferentPageNCreatePageAfterMovedPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/ActionTest.php [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/changeContentSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/changePageSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/copyContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/copyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/createContentNDiscardCreatedContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/createContents.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/createNCopyContentNDiscardCopiedContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/createPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/deleteContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/deletePage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizeContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/modifyContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/modifyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/moveContentToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/moveContentToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/movePageToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/movePageToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/movePageToDifferentPageNCreatePageAfterMovedPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/ActionTest.php [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/changeContentSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/changePageSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/copyContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/copyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/createContentNDiscardCreatedContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/createContents.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/createNCopyContentNDiscardCopiedContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/createPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/deleteContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/deletePage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizeContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/modifyContent.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/modifyPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/moveContentToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/moveContentToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/movePageToDifferentPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/movePageToDifferentPageNChangeSorting.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/movePageToDifferentPageNCreatePageAfterMovedPage.csv [new file with mode: 0644]
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/WorkspaceActionTest.php [deleted file]

index a8b249f..7a70a21 100644 (file)
@@ -26,7 +26,6 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataHandling;
 
 use TYPO3\CMS\Core\Utility\GeneralUtility;
 use TYPO3\CMS\Core\Tests\Functional\DataHandling\Framework\DataSet;
-use TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\Response;
 use TYPO3\CMS\Core\Tests\Functional\Framework\Frontend\ResponseContent;
 
 /**
@@ -39,7 +38,12 @@ abstract class AbstractDataHandlerActionTestCase extends \TYPO3\CMS\Core\Tests\F
        /**
         * @var string
         */
-       protected $dataSetDirectory;
+       protected $scenarioDataSetDirectory;
+
+       /**
+        * @var string
+        */
+       protected $assertionDataSetDirectory;
 
        /**
         * If this value is NULL, log entries are not considered.
@@ -66,6 +70,11 @@ abstract class AbstractDataHandlerActionTestCase extends \TYPO3\CMS\Core\Tests\F
        );
 
        /**
+        * @var array
+        */
+       protected $recordIds = array();
+
+       /**
         * @var \TYPO3\CMS\Core\Tests\Functional\DataHandling\Framework\ActionService
         */
        protected $actionService;
@@ -89,6 +98,7 @@ abstract class AbstractDataHandlerActionTestCase extends \TYPO3\CMS\Core\Tests\F
        public function tearDown() {
                $this->assertErrorLogEntries();
                unset($this->actionService);
+               unset($this->recordIds);
                parent::tearDown();
        }
 
@@ -105,7 +115,7 @@ abstract class AbstractDataHandlerActionTestCase extends \TYPO3\CMS\Core\Tests\F
         * @param string $dataSetName
         */
        protected function importScenarioDataSet($dataSetName) {
-               $fileName = rtrim($this->dataSetDirectory, '/') . '/Scenario/' . $dataSetName . '.csv';
+               $fileName = rtrim($this->scenarioDataSetDirectory, '/') . '/' . $dataSetName . '.csv';
                $fileName = GeneralUtility::getFileAbsFileName($fileName);
 
                $dataSet = DataSet::read($fileName);
@@ -125,7 +135,7 @@ abstract class AbstractDataHandlerActionTestCase extends \TYPO3\CMS\Core\Tests\F
        }
 
        protected function assertAssertionDataSet($dataSetName) {
-               $fileName = rtrim($this->dataSetDirectory, '/') . '/Assertion/' . $dataSetName . '.csv';
+               $fileName = rtrim($this->assertionDataSetDirectory, '/') . '/' . $dataSetName . '.csv';
                $fileName = GeneralUtility::getFileAbsFileName($fileName);
 
                $dataSet = DataSet::read($fileName);
index 11259ee..a073820 100644 (file)
@@ -49,7 +49,12 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        /**
         * @var string
         */
-       protected $dataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/';
+       protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/';
+
+       /**
+        * @var string
+        */
+       protected $assertionDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/';
 
        public function setUp() {
                parent::setUp();
index 504d474..21a46b2 100644 (file)
@@ -49,7 +49,12 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        /**
         * @var string
         */
-       protected $dataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/';
+       protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Scenario/';
+
+       /**
+        * @var string
+        */
+       protected $assertionDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/Assertion/';
 
        public function setUp() {
                parent::setUp();
index 859ca98..326fe35 100644 (file)
@@ -46,7 +46,12 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        /**
         * @var string
         */
-       protected $dataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/';
+       protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Scenario/';
+
+       /**
+        * @var string
+        */
+       protected $assertionDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/Assertion/';
 
        public function setUp() {
                parent::setUp();
index cbdf4be..11a3d13 100644 (file)
@@ -44,7 +44,12 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        /**
         * @var string
         */
-       protected $dataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/';
+       protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Scenario/';
+
+       /**
+        * @var string
+        */
+       protected $assertionDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/Assertion/';
 
        public function setUp() {
                parent::setUp();
index 83bcca5..9c44501 100644 (file)
@@ -31,7 +31,8 @@ require_once __DIR__ . '/../AbstractImportTestCase.php';
  */
 class ImportInEmptyDatabaseTest extends \TYPO3\CMS\Impexp\Tests\Functional\Import\AbstractImportTestCase {
 
-       protected $dataSetDirectory = 'typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecords/DataSet/';
+       protected $scenarioDataSetDirectory = 'typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecords/DataSet/Scenario/';
+       protected $assertionDataSetDirectory = 'typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecords/DataSet/Assertion/';
 
        /**
         * @test
index 9b879ac..62d6fb9 100644 (file)
@@ -31,7 +31,8 @@ require_once __DIR__ . '/../AbstractImportTestCase.php';
  */
 class ImportInEmptyDatabaseTest extends \TYPO3\CMS\Impexp\Tests\Functional\Import\AbstractImportTestCase {
 
-       protected $dataSetDirectory = 'typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContent/DataSet/';
+       protected $scenarioDataSetDirectory = 'typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContent/DataSet/Scenario/';
+       protected $assertionDataSetDirectory = 'typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContent/DataSet/Assertion/';
 
        /**
         * @test
index 1f6a4bb..18cc261 100644 (file)
@@ -31,7 +31,8 @@ require_once __DIR__ . '/../AbstractImportTestCase.php';
  */
 class ImportInEmptyDatabaseTest extends \TYPO3\CMS\Impexp\Tests\Functional\Import\AbstractImportTestCase {
 
-       protected $dataSetDirectory = 'typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/DataSet/';
+       protected $scenarioDataSetDirectory = 'typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/DataSet/Scenario/';
+       protected $assertionDataSetDirectory = 'typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/DataSet/Assertion/';
 
        /**
         * @test
index b2451fb..16ef63f 100644 (file)
@@ -39,7 +39,8 @@ class ImportInFilledDatabaseTest extends \TYPO3\CMS\Impexp\Tests\Functional\Impo
                'typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/user_upload/typo3_image2.jpg' => 'fileadmin/user_upload/typo3_image2.jpg',
        );
 
-       protected $dataSetDirectory = 'typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/DataSet/';
+       protected $scenarioDataSetDirectory = 'typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/DataSet/Scenario/';
+       protected $assertionDataSetDirectory = 'typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImages/DataSet/Assertion/';
 
        /**
         * @test
index d4f4dbb..dfcfd56 100644 (file)
@@ -50,7 +50,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        /**
         * @var string
         */
-       protected $dataSetDirectory = 'typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/';
+       protected $scenarioDataSetDirectory = 'typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/';
 
        /**
         * @var array
@@ -64,8 +64,10 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                parent::setUp();
                $this->importScenarioDataSet('LiveDefaultPages');
                $this->importScenarioDataSet('LiveDefaultElements');
+               $this->importScenarioDataSet('ReferenceIndex');
 
                $this->setUpFrontendRootPage(1, array('typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts'));
+               $this->backendUser->workspace = self::VALUE_WorkspaceId;
        }
 
        /**
@@ -73,172 +75,72 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
 
        /**
-        * @test
         * @see DataSet/Assertion/createParentContentRecord.csv
         */
        public function createParentContent() {
-               $this->actionService->createNewRecord(self::TABLE_Content, self::VALUE_PageId, array('header' => 'Testing #1'));
-               $this->assertAssertionDataSet('createParentContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+               $newTableIds = $this->actionService->createNewRecord(self::TABLE_Content, self::VALUE_PageId, array('header' => 'Testing #1'));
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/modifyParentContentRecord.csv
         */
        public function modifyParentContent() {
                $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdLast, array('header' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyParentContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
-
-               // @todo Cannot direct select workspace version due to frontend SQL query
-               // SELECT * FROM tx_irretutorial_1ncsv_hotel
-               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
-               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
-               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
-               /*
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                               self::TABLE_Hotel, 'title', array('Hotel #1')
-                       );
-               */
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/deleteParentContentRecord.csv
         */
        public function deleteParentContent() {
                $this->actionService->deleteRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
-               $this->assertAssertionDataSet('deleteParentContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/deleteParentContentRecordAndDiscardDeletedParentRecord.csv
         */
        public function deleteParentContentAndDiscardDeletedParent() {
                $newTableIds = $this->actionService->deleteRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
                $versionedDeletedContentId = $newTableIds[self::TABLE_Content][self::VALUE_ContentIdLast];
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $versionedDeletedContentId);
-               $this->assertAssertionDataSet('deleteParentContentNDiscardDeletedParent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/copyParentContentRecord.csv
         */
        public function copyParentContent() {
                $newTableIds = $this->actionService->copyRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageId);
-               $this->assertAssertionDataSet('copyParentContent');
-
-               $newContentId = $newTableIds[self::TABLE_Content][self::VALUE_ContentIdLast];
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . $newContentId, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1')
-               );
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][self::VALUE_ContentIdLast];
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/localizeParentContentRecord.csv
         */
        public function localizeParentContent() {
-               $this->actionService->localizeRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_LanguageId);
-               $this->assertAssertionDataSet('localizeParentContent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('[Translate to Dansk:] Hotel #1')
-               );
+               $newTableIds = $this->actionService->localizeRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_LanguageId);
+               $this->recordIds['localizedContentId'] = $newTableIds[self::TABLE_Content][self::VALUE_ContentIdLast];
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/changeParentContentRecordSorting.csv
         */
        public function changeParentContentSorting() {
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, -self::VALUE_ContentIdLast);
-               $this->assertAssertionDataSet('changeParentContentSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-
-               // @todo Cannot direct select workspace version due to frontend SQL query
-               // SELECT * FROM tx_irretutorial_1ncsv_hotel
-               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
-               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
-               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
-               /*
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
-                       );
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                               self::TABLE_Hotel, 'title', array('Hotel #1')
-                       );
-               */
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/moveParentContentRecordToDifferentPage.csv
         */
        public function moveParentContentToDifferentPage() {
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('moveParentContentToDifferentPage');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
-
-               // @todo Workspace child records gets lost due to core bug
-               /*
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1')
-               );
-               */
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/moveParentContentRecordToDifferentPageAndChangeSorting.csv
         */
        public function moveParentContentToDifferentPageAndChangeSorting() {
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdLast, self::VALUE_PageIdTarget);
                $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, -self::VALUE_ContentIdLast);
-               $this->assertAssertionDataSet('moveParentContentToDifferentPageNChangeSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #2', 'Regular Element #1'));
-
-               // @todo Cannot direct select workspace version due to frontend SQL query
-               // SELECT * FROM tx_irretutorial_1ncsv_hotel
-               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
-               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
-               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
-               /*
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
-                       );
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                               self::TABLE_Hotel, 'title', array('Hotel #1')
-                       );
-               */
        }
 
        /**
@@ -246,44 +148,25 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
 
        /**
-        * @test
         * @see DataSet/Assertion/modifyPageRecord.csv
         */
        public function modifyPage() {
                $this->actionService->modifyRecord(self::TABLE_Page, self::VALUE_PageId, array('title' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyPage');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Testing #1');
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
-               );
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/deletePageRecord.csv
         */
        public function deletePage() {
                $this->actionService->deleteRecord(self::TABLE_Page, self::VALUE_PageId);
-               $this->assertAssertionDataSet('deletePage');
-
-               $response = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId, FALSE);
-               $this->assertContains('RuntimeException', $response->getError());
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/copyPageRecord.csv
         */
        public function copyPage() {
                $newTableIds = $this->actionService->copyRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_PageIdTarget);
-               $this->assertAssertionDataSet('copyPage');
-
-               $newPageId = $newTableIds[self::TABLE_Page][self::VALUE_PageId];
-               $responseContent = $this->getFrontendResponse($newPageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2', 'Hotel #1'));
+               $this->recordIds['newPageId'] = $newTableIds[self::TABLE_Page][self::VALUE_PageId];
        }
 
        /**
@@ -291,7 +174,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
 
        /**
-        * @test
         * @see DataSet/Assertion/createParentContentRecordWithHotelAndOfferChildRecords.csv
         */
        public function createParentContentWithHotelAndOfferChildren() {
@@ -303,23 +185,10 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Offer => array('title' => 'Offer #1'),
                        )
                );
-               $this->assertAssertionDataSet('createParentContentNHotelNOfferChildren');
-
-               $newContentId = $newTableIds[self::TABLE_Content][0];
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
-
-               // @todo Shadow fields are not correct on the new placeholder
-               /*
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Content . ':' . $newContentId, self::FIELD_ContentHotel,
-                               self::TABLE_Hotel, 'title', 'Hotel #1'
-                       );
-               */
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/createAndCopyParentContentRecordWithHotelAndOfferChildRecords.csv
         */
        public function createAndCopyParentContentWithHotelAndOfferChildren() {
@@ -332,35 +201,14 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Offer => array('title' => 'Offer #1'),
                        )
                );
-               $newContentId = $newTableIds[self::TABLE_Content][0];
-               $newHotelId = $newTableIds[self::TABLE_Hotel][0];
-               $copiedTableIds = $this->actionService->copyRecord(self::TABLE_Content, $newContentId, self::VALUE_PageId);
-               $this->assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildren');
-
-               $copiedContentId = $copiedTableIds[self::TABLE_Content][$newContentId];
-               $copiedHotelId = $copiedTableIds[self::TABLE_Hotel][$newHotelId];
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1 (copy 1)');
-
-               // @todo Shadow fields are not correct on the new placeholder
-               /*
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Content . ':' . $newContentId, self::FIELD_ContentHotel,
-                               self::TABLE_Hotel, 'title', 'Hotel #1'
-                       );
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Content . ':' . $copiedContentId, self::FIELD_ContentHotel,
-                               self::TABLE_Hotel, 'title', 'Hotel #1'
-                       );
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Hotel . ':' . $copiedHotelId, self::FIELD_HotelOffer,
-                               self::TABLE_Offer, 'title', 'Offer #1'
-                       );
-                */
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
+               $this->recordIds['newHotelId'] = $newTableIds[self::TABLE_Hotel][0];
+               $copiedTableIds = $this->actionService->copyRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_PageId);
+               $this->recordIds['copiedContentId'] = $copiedTableIds[self::TABLE_Content][$this->recordIds['newContentId']];
+               $this->recordIds['copiedHotelId'] = $copiedTableIds[self::TABLE_Hotel][$this->recordIds['newHotelId']];
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/createAndCopyParentContentRecordWithHotelAndOfferChildRecordsAndDiscardCopiedParentRecord.csv
         */
        public function createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent() {
@@ -373,19 +221,14 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Offer => array('title' => 'Offer #1'),
                        )
                );
-               $newContentId = $newTableIds['tt_content'][0];
-               $copiedTableIds = $this->actionService->copyRecord(self::TABLE_Content, $newContentId, self::VALUE_PageId);
-               $copiedContentId = $copiedTableIds[self::TABLE_Content][$newContentId];
-               $versionedCopiedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, $copiedContentId);
+               $this->recordIds['newContentId'] = $newTableIds['tt_content'][0];
+               $copiedTableIds = $this->actionService->copyRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_PageId);
+               $this->recordIds['copiedContentId'] = $copiedTableIds[self::TABLE_Content][$this->recordIds['newContentId']];
+               $versionedCopiedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, $this->recordIds['copiedContentId']);
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $versionedCopiedContentId);
-               $this->assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1 (copy 1)');
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecords.csv
         */
        public function createAndLocalizeParentContentWithHotelAndOfferChildren() {
@@ -398,31 +241,13 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Offer => array('title' => 'Offer #1'),
                        )
                );
-               $newContentId = $newTableIds[self::TABLE_Content][0];
-               $newHotelId = $newTableIds[self::TABLE_Hotel][0];
-               $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, $newContentId, self::VALUE_LanguageId);
-               $this->assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildren');
-
-               $localizedContentId = $localizedTableIds[self::TABLE_Content][$newContentId];
-               $localizedHotelId = $localizedTableIds[self::TABLE_Hotel][$newHotelId];
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', '[Translate to Dansk:] Testing #1');
-
-               // @todo Does not work since children don't point to live-default record
-               /*
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Content . ':' . $localizedContentId, self::FIELD_ContentHotel,
-                               self::TABLE_Hotel, 'title', '[Translate to Dansk:] Hotel #1'
-                       );
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Hotel . ':' . $localizedHotelId, self::FIELD_HotelOffer,
-                               self::TABLE_Offer, 'title', '[Translate to Dansk:] Offer #1'
-                       );
-               */
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
+               $this->recordIds['newHotelId'] = $newTableIds[self::TABLE_Hotel][0];
+               $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_LanguageId);
+               $this->recordIds['localizedContentId'] = $localizedTableIds[self::TABLE_Content][$this->recordIds['newContentId']];
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecordsAndDiscardLocalizedParentRecord.csv
         */
        public function createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent() {
@@ -435,57 +260,28 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Offer => array('title' => 'Offer #1'),
                        )
                );
-               $newContentId = $newTableIds[self::TABLE_Content][0];
-               $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, $newContentId, self::VALUE_LanguageId);
-               $localizedContentId = $localizedTableIds[self::TABLE_Content][$newContentId];
-               $versionedLocalizedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, $localizedContentId);
+               $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
+               $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_LanguageId);
+               $this->recordIds['localizedContentId'] = $localizedTableIds[self::TABLE_Content][$this->recordIds['newContentId']];
+               $versionedLocalizedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, $this->recordIds['localizedContentId']);
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $versionedLocalizedContentId);
-               $this->assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', '[Translate to Dansk:] Testing #1');
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/modifyOnlyHotelChildRecord.csv
         */
        public function modifyOnlyHotelChild() {
                $this->actionService->modifyRecord(self::TABLE_Hotel, 4, array('title' => 'Testing #1'));
-               $this->assertAssertionDataSet('modifyOnlyHotelChild');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
-               );
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/modifyParentRecordAndChangeHotelChildRecordsSorting.csv
         */
        public function modifyParentAndChangeHotelChildrenSorting() {
                $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, array(self::FIELD_ContentHotel => '4,3'));
-               $this->assertAssertionDataSet('modifyParentNChangeHotelChildrenSorting');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-
-               // @todo Cannot direct select workspace version due to frontend SQL query
-               // SELECT * FROM tx_irretutorial_1ncsv_hotel
-               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
-               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
-               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
-               /*
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                               self::TABLE_Hotel, 'title', array('Hotel #2', 'Hotel #1')
-                       );
-               */
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/modifyParentRecordWithHotelChildRecord.csv
         */
        public function modifyParentWithHotelChild() {
@@ -496,25 +292,9 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Hotel => array('uid' => 4, 'title' => 'Testing #1'),
                        )
                );
-               $this->assertAssertionDataSet('modifyParentNHotelChild');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-
-               // @todo Cannot direct select workspace version due to frontend SQL query
-               // SELECT * FROM tx_irretutorial_1ncsv_hotel
-               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
-               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
-               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
-               /*
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
-                       );
-               */
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/modifyParentRecordWithHotelChildRecordAndDiscardModifiedParentRecord.csv
         */
        public function modifyParentWithHotelChildAndDiscardModifiedParent() {
@@ -527,26 +307,9 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                );
                $modifiedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, self::VALUE_ContentIdFirst);
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $modifiedContentId);
-               $this->assertAssertionDataSet('modifyParentNHotelChildNDiscardModifiedParent');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #1');
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
-                       // @todo Discarding the parent record should discard the child records as well
-                       // self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
-               );
-               /*
-                       $this->assertResponseContentStructureDoesNotHaveRecords(
-                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                               self::TABLE_Hotel, 'title', 'Testing #1'
-                       );
-               */
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/modifyParentRecordWithHotelChildRecordAndDiscardAllModifiedRecords.csv
         */
        public function modifyParentWithHotelChildAndDiscardAll() {
@@ -565,18 +328,9 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                        self::TABLE_Hotel => array($modifiedHotelId),
                                )
                );
-               $this->assertAssertionDataSet('modifyParentNHotelChildNDiscardAll');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #1');
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
-               );
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/modifyParentRecordAndAddHotelChildRecord.csv
         */
        public function modifyParentAndAddHotelChild() {
@@ -587,21 +341,9 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Hotel => array('uid' => '__NEW', 'title' => 'Hotel #2'),
                        )
                );
-               $this->assertAssertionDataSet('modifyParentNAddHotelChild');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-
-               // @todo Child record cannot be selected since they do not point to the live record
-               /*
-                       $this->assertResponseContentStructureHasRecords(
-                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
-                       );
-               */
        }
 
        /**
-        * @test
         * @see DataSet/Assertion/modifyParentRecordAndDeleteHotelChildRecord.csv
         */
        public function modifyParentAndDeleteHotelChild() {
@@ -611,17 +353,6 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                        array(self::FIELD_ContentHotel => '3'),
                        array(self::TABLE_Hotel => array(4))
                );
-               $this->assertAssertionDataSet('modifyParentNDeleteHotelChild');
-
-               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
-               $this->assertResponseContentStructureHasRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', 'Hotel #1'
-               );
-               $this->assertResponseContentStructureDoesNotHaveRecords(
-                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
-                       self::TABLE_Hotel, 'title', 'Hotel #2'
-               );
        }
 
 }
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/changeParentContentSorting.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/changeParentContentSorting.csv
deleted file mode 100644 (file)
index e17ebc7..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,-1,256,0,0,0,1,4,0,297,0,"Regular Element #1","6,7"
-,300,89,768,0,0,0,1,3,0,0,297,"[MOVE-TO PLACEHOLDER for #297, WS#1]",
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,-1,256,0,0,0,1,4,0,3,0,"Hotel #1","9,10"
-,7,-1,128,0,0,0,1,4,0,4,0,"Hotel #2",11
-,8,89,32,0,0,0,1,3,0,0,4,"[MOVE-TO PLACEHOLDER for #4, WS#1]",
-,9,89,16,0,0,0,1,3,0,0,3,"[MOVE-TO PLACEHOLDER for #3, WS#1]",
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,-1,256,0,0,0,1,4,0,5,0,"Offer #1.1","14,15,16"
-,10,-1,128,0,0,0,1,4,0,6,0,"Offer #1.2","17,18"
-,11,-1,64,0,0,0,1,4,0,7,0,"Offer #2.1",19
-,12,89,16,0,0,0,1,3,0,0,7,"[MOVE-TO PLACEHOLDER for #7, WS#1]",
-,13,89,8,0,0,0,1,3,0,0,6,"[MOVE-TO PLACEHOLDER for #6, WS#1]",
-,14,89,4,0,0,0,1,3,0,0,5,"[MOVE-TO PLACEHOLDER for #5, WS#1]",
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,2816,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,2560,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,2304,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,2048,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,1792,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,1536,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,1280,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,-1,256,0,0,0,1,4,0,7,0,"Price #1.1.1"
-,15,-1,128,0,0,0,1,4,0,8,0,"Price #1.1.2"
-,16,-1,64,0,0,0,1,4,0,9,0,"Price #1.1.3"
-,17,-1,32,0,0,0,1,4,0,10,0,"Price #1.2.1"
-,18,-1,16,0,0,0,1,4,0,11,0,"Price #1.2.2"
-,19,-1,8,0,0,0,1,4,0,12,0,"Price #2.1.1"
-,20,89,1024,0,0,0,1,3,0,0,12,"[MOVE-TO PLACEHOLDER for #12, WS#1]"
-,21,89,768,0,0,0,1,3,0,0,11,"[MOVE-TO PLACEHOLDER for #11, WS#1]"
-,22,89,512,0,0,0,1,3,0,0,10,"[MOVE-TO PLACEHOLDER for #10, WS#1]"
-,23,89,256,0,0,0,1,3,0,0,9,"[MOVE-TO PLACEHOLDER for #9, WS#1]"
-,24,89,128,0,0,0,1,3,0,0,8,"[MOVE-TO PLACEHOLDER for #8, WS#1]"
-,25,89,64,0,0,0,1,3,0,0,7,"[MOVE-TO PLACEHOLDER for #7, WS#1]"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyPage.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyPage.csv
deleted file mode 100644 (file)
index 07822d7..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-,91,90,256,0,1,1,0,0,0,Relations
-,92,-1,256,0,1,-1,0,91,0,Relations
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,91,256,0,0,0,1,1,0,0,0,"Regular Element #2",
-,300,-1,256,0,0,0,1,-1,0,299,0,"Regular Element #2",6
-,301,91,128,0,0,0,1,1,0,0,0,"Regular Element #1",
-,302,-1,128,0,0,0,1,-1,0,301,0,"Regular Element #1","7,8"
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,91,64,0,0,0,0,0,0,0,0,"Hotel #1",9
-,7,91,256,0,0,0,0,0,0,0,0,"Hotel #1","10,11"
-,8,91,128,0,0,0,0,0,0,0,0,"Hotel #2",12
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,91,32,0,0,0,0,0,0,0,0,"Offer #1.1",14
-,10,91,256,0,0,0,0,0,0,0,0,"Offer #1.1","15,16,17"
-,11,91,128,0,0,0,0,0,0,0,0,"Offer #1.2","18,19"
-,12,91,64,0,0,0,0,0,0,0,0,"Offer #2.1",20
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,91,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,15,91,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,16,91,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,17,91,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,18,91,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,19,91,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,20,91,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/copyParentContent.csv
deleted file mode 100644 (file)
index c3177f4..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,128,0,0,0,1,1,0,0,0,"Regular Element #2 (copy 1)",
-,300,-1,128,0,0,0,1,-1,0,299,0,"Regular Element #2 (copy 1)",6
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,89,64,0,0,0,0,0,0,0,0,"Hotel #1",9
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",14
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildren.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildren.csv
deleted file mode 100644 (file)
index 4c1bdc4..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,128,0,0,0,1,1,0,0,0,"Testing #1",
-,300,-1,128,0,0,0,1,-1,0,299,0,"Testing #1",7
-,301,89,64,0,0,0,1,1,0,0,0,"Testing #1 (copy 1)",
-,302,-1,64,0,0,0,1,-1,0,301,0,"Testing #1 (copy 1)",8
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,89,32,0,0,0,1,1,0,0,0,"Hotel #1",
-,7,-1,32,0,0,0,1,-1,0,6,0,"Hotel #1",10
-,8,89,32,0,0,0,1,-1,0,6,0,"Hotel #1",11
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,89,16,0,0,0,1,1,0,0,0,"Offer #1",
-,10,-1,16,0,0,0,1,-1,0,9,0,"Offer #1",
-,11,89,16,0,0,0,1,-1,0,9,0,"Offer #1",
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv
deleted file mode 100644 (file)
index 1219ea5..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,128,0,0,0,1,1,0,0,0,"Testing #1",
-,300,-1,128,0,0,0,1,-1,0,299,0,"Testing #1",7
-,301,89,1000000000,1,0,0,0,1,0,0,0,"Testing #1 (copy 1)",
-,302,-1,1000000000,1,0,0,0,-1,0,301,0,"Testing #1 (copy 1)",8
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,89,32,0,0,0,1,1,0,0,0,"Hotel #1",
-,7,-1,32,0,0,0,1,-1,0,6,0,"Hotel #1",10
-,8,89,32,0,0,0,1,-1,0,6,0,"Hotel #1",11
-,9,-1,32,0,0,0,1,2,0,8,0,"Hotel #1",12
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,89,16,0,0,0,1,1,0,0,0,"Offer #1",
-,10,-1,16,0,0,0,1,-1,0,9,0,"Offer #1",
-,11,89,16,0,0,0,1,-1,0,9,0,"Offer #1",
-,12,-1,16,0,0,0,1,2,0,11,0,"Offer #1",
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildren.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildren.csv
deleted file mode 100644 (file)
index e6e5795..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,128,0,0,0,1,1,0,0,0,"Testing #1",
-,300,-1,128,0,0,0,1,-1,0,299,0,"Testing #1",7
-,301,89,192,0,1,299,1,1,0,0,0,"[Translate to Dansk:] Testing #1",
-,302,-1,192,0,1,299,1,-1,0,301,0,"[Translate to Dansk:] Testing #1",8
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,89,32,0,0,0,1,1,0,0,0,"Hotel #1",
-,7,-1,32,0,0,0,1,-1,0,6,0,"Hotel #1",10
-,8,89,48,0,1,7,1,1,0,0,0,"[Translate to Dansk:] Hotel #1",
-,9,-1,48,0,1,7,1,-1,0,8,0,"[Translate to Dansk:] Hotel #1",
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,89,16,0,0,0,1,1,0,0,0,"Offer #1",
-,10,-1,16,0,0,0,1,-1,0,9,0,"Offer #1",
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv
deleted file mode 100644 (file)
index 58b2729..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,128,0,0,0,1,1,0,0,0,"Testing #1",
-,300,-1,128,0,0,0,1,-1,0,299,0,"Testing #1",7
-,301,89,1000000000,1,1,299,0,1,0,0,0,"[Translate to Dansk:] Testing #1",
-,302,-1,1000000000,1,1,299,0,-1,0,301,0,"[Translate to Dansk:] Testing #1",8
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,89,32,0,0,0,1,1,0,0,0,"Hotel #1",
-,7,-1,32,0,0,0,1,-1,0,6,0,"Hotel #1",10
-,8,89,1000000000,1,1,7,0,1,0,0,0,"[Translate to Dansk:] Hotel #1",
-,9,-1,1000000000,1,1,7,0,-1,0,8,0,"[Translate to Dansk:] Hotel #1",
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,89,16,0,0,0,1,1,0,0,0,"Offer #1",
-,10,-1,16,0,0,0,1,-1,0,9,0,"Offer #1",
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createParentContent.csv
deleted file mode 100644 (file)
index f188853..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,128,0,0,0,1,1,0,0,0,"Testing #1",
-,300,-1,128,0,0,0,1,-1,0,299,0,"Testing #1",
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createParentContentNHotelNOfferChildren.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/createParentContentNHotelNOfferChildren.csv
deleted file mode 100644 (file)
index 3b0d8a2..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,128,0,0,0,1,1,0,0,0,"Testing #1",
-,300,-1,128,0,0,0,1,-1,0,299,0,"Testing #1",7
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,89,32,0,0,0,1,1,0,0,0,"Hotel #1",
-,7,-1,32,0,0,0,1,-1,0,6,0,"Hotel #1",10
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,89,16,0,0,0,1,1,0,0,0,"Offer #1",
-,10,-1,16,0,0,0,1,-1,0,9,0,"Offer #1",
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deletePage.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deletePage.csv
deleted file mode 100644 (file)
index 164496e..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-,91,-1,256,0,1,2,0,89,0,Relations
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deleteParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deleteParentContent.csv
deleted file mode 100644 (file)
index 2ad50d9..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,-1,512,0,0,0,1,2,0,298,0,"Regular Element #2",6
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,-1,64,0,0,0,1,2,0,5,0,"Hotel #1",9
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,-1,32,0,0,0,1,2,0,8,0,"Offer #1.1",14
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,-1,4,0,0,0,1,2,0,13,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deleteParentContentNDiscardDeletedParent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/deleteParentContentNDiscardDeletedParent.csv
deleted file mode 100644 (file)
index 65982aa..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/localizeParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/localizeParentContent.csv
deleted file mode 100644 (file)
index 6424a80..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,89,768,0,1,298,1,1,0,0,0,"[Translate to Dansk:] Regular Element #2",
-,300,-1,768,0,1,298,1,-1,0,299,0,"[Translate to Dansk:] Regular Element #2",6
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,89,96,0,1,5,1,1,0,0,0,"[Translate to Dansk:] Hotel #1",
-,7,-1,96,0,1,5,1,-1,0,6,0,"[Translate to Dansk:] Hotel #1",
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyOnlyHotelChild.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyOnlyHotelChild.csv
deleted file mode 100644 (file)
index df66083..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,-1,128,0,0,0,1,0,0,4,0,"Testing #1",9
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,-1,64,0,0,0,1,0,0,7,0,"Offer #2.1",14
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,-1,8,0,0,0,1,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyPage.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyPage.csv
deleted file mode 100644 (file)
index 152cda4..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
-,91,-1,256,0,1,0,0,89,0,"Testing #1"
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentContent.csv
deleted file mode 100644 (file)
index e94c199..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,-1,512,0,0,0,1,0,0,298,0,"Testing #1",6
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,-1,64,0,0,0,1,0,0,5,0,"Hotel #1",9
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,-1,32,0,0,0,1,0,0,8,0,"Offer #1.1",14
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,-1,4,0,0,0,1,0,0,13,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNAddHotelChild.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNAddHotelChild.csv
deleted file mode 100644 (file)
index 7cce712..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,-1,512,0,0,0,1,0,0,298,0,"Regular Element #2","6,8"
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,-1,64,0,0,0,1,0,0,5,0,"Hotel #1",9
-,7,89,32,0,0,0,1,1,0,0,0,"Hotel #2",
-,8,-1,32,0,0,0,1,-1,0,7,0,"Hotel #2",
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,-1,32,0,0,0,1,0,0,8,0,"Offer #1.1",14
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,-1,4,0,0,0,1,0,0,13,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNChangeHotelChildrenSorting.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNChangeHotelChildrenSorting.csv
deleted file mode 100644 (file)
index f337095..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,-1,256,0,0,0,1,0,0,297,0,"Regular Element #1","7,6"
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,-1,256,0,0,0,1,0,0,3,0,"Hotel #1","9,10"
-,7,-1,128,0,0,0,1,0,0,4,0,"Hotel #2",11
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,-1,256,0,0,0,1,0,0,5,0,"Offer #1.1","14,15,16"
-,10,-1,128,0,0,0,1,0,0,6,0,"Offer #1.2","17,18"
-,11,-1,64,0,0,0,1,0,0,7,0,"Offer #2.1",19
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,-1,256,0,0,0,1,0,0,7,0,"Price #1.1.1"
-,15,-1,128,0,0,0,1,0,0,8,0,"Price #1.1.2"
-,16,-1,64,0,0,0,1,0,0,9,0,"Price #1.1.3"
-,17,-1,32,0,0,0,1,0,0,10,0,"Price #1.2.1"
-,18,-1,16,0,0,0,1,0,0,11,0,"Price #1.2.2"
-,19,-1,8,0,0,0,1,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNDeleteHotelChild.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNDeleteHotelChild.csv
deleted file mode 100644 (file)
index 2550b96..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,-1,256,0,0,0,1,0,0,297,0,"Regular Element #1",6
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,-1,256,0,0,0,1,0,0,3,0,"Hotel #1","9,10"
-,7,-1,128,0,0,0,1,2,0,4,0,"Hotel #2",11
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,-1,256,0,0,0,1,0,0,5,0,"Offer #1.1","14,15,16"
-,10,-1,128,0,0,0,1,0,0,6,0,"Offer #1.2","17,18"
-,11,-1,64,0,0,0,1,2,0,7,0,"Offer #2.1",19
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,-1,256,0,0,0,1,0,0,7,0,"Price #1.1.1"
-,15,-1,128,0,0,0,1,0,0,8,0,"Price #1.1.2"
-,16,-1,64,0,0,0,1,0,0,9,0,"Price #1.1.3"
-,17,-1,32,0,0,0,1,0,0,10,0,"Price #1.2.1"
-,18,-1,16,0,0,0,1,0,0,11,0,"Price #1.2.2"
-,19,-1,8,0,0,0,1,2,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNHotelChild.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNHotelChild.csv
deleted file mode 100644 (file)
index 8d065f6..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,-1,256,0,0,0,1,0,0,297,0,"Regular Element #1","6,7"
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,-1,256,0,0,0,1,0,0,3,0,"Hotel #1","9,10"
-,7,-1,128,0,0,0,1,0,0,4,0,"Testing #1",11
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,-1,256,0,0,0,1,0,0,5,0,"Offer #1.1","14,15,16"
-,10,-1,128,0,0,0,1,0,0,6,0,"Offer #1.2","17,18"
-,11,-1,64,0,0,0,1,0,0,7,0,"Offer #2.1",19
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,-1,256,0,0,0,1,0,0,7,0,"Price #1.1.1"
-,15,-1,128,0,0,0,1,0,0,8,0,"Price #1.1.2"
-,16,-1,64,0,0,0,1,0,0,9,0,"Price #1.1.3"
-,17,-1,32,0,0,0,1,0,0,10,0,"Price #1.2.1"
-,18,-1,16,0,0,0,1,0,0,11,0,"Price #1.2.2"
-,19,-1,8,0,0,0,1,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNHotelChildNDiscardAll.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNHotelChildNDiscardAll.csv
deleted file mode 100644 (file)
index 0c80944..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,-1,256,0,0,0,0,0,0,297,0,"Regular Element #1","6,7"
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,-1,256,0,0,0,1,0,0,3,0,"Hotel #1","9,10"
-,7,-1,128,0,0,0,0,0,0,4,0,"Testing #1",11
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,-1,256,0,0,0,1,0,0,5,0,"Offer #1.1","14,15,16"
-,10,-1,128,0,0,0,1,0,0,6,0,"Offer #1.2","17,18"
-,11,-1,64,0,0,0,1,0,0,7,0,"Offer #2.1",19
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,-1,256,0,0,0,1,0,0,7,0,"Price #1.1.1"
-,15,-1,128,0,0,0,1,0,0,8,0,"Price #1.1.2"
-,16,-1,64,0,0,0,1,0,0,9,0,"Price #1.1.3"
-,17,-1,32,0,0,0,1,0,0,10,0,"Price #1.2.1"
-,18,-1,16,0,0,0,1,0,0,11,0,"Price #1.2.2"
-,19,-1,8,0,0,0,1,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNHotelChildNDiscardModifiedParent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/modifyParentNHotelChildNDiscardModifiedParent.csv
deleted file mode 100644 (file)
index e4d41f6..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,-1,256,0,0,0,0,0,0,297,0,"Regular Element #1","6,7"
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,-1,256,0,0,0,1,0,0,3,0,"Hotel #1","9,10"
-,7,-1,128,0,0,0,1,0,0,4,0,"Testing #1",11
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,-1,256,0,0,0,1,0,0,5,0,"Offer #1.1","14,15,16"
-,10,-1,128,0,0,0,1,0,0,6,0,"Offer #1.2","17,18"
-,11,-1,64,0,0,0,1,0,0,7,0,"Offer #2.1",19
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,-1,256,0,0,0,1,0,0,7,0,"Price #1.1.1"
-,15,-1,128,0,0,0,1,0,0,8,0,"Price #1.1.2"
-,16,-1,64,0,0,0,1,0,0,9,0,"Price #1.1.3"
-,17,-1,32,0,0,0,1,0,0,10,0,"Price #1.2.1"
-,18,-1,16,0,0,0,1,0,0,11,0,"Price #1.2.2"
-,19,-1,8,0,0,0,1,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/moveParentContentToDifferentPage.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/moveParentContentToDifferentPage.csv
deleted file mode 100644 (file)
index bf93e52..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,-1,512,0,0,0,1,4,0,298,0,"Regular Element #2",6
-,300,90,256,0,0,0,1,3,0,0,298,"[MOVE-TO PLACEHOLDER for #298, WS#1]",
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,-1,64,0,0,0,1,4,0,5,0,"Hotel #1",9
-,7,90,256,0,0,0,1,3,0,0,5,"[MOVE-TO PLACEHOLDER for #5, WS#1]",
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,-1,32,0,0,0,1,4,0,8,0,"Offer #1.1",14
-,10,90,256,0,0,0,1,3,0,0,8,"[MOVE-TO PLACEHOLDER for #8, WS#1]",
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,-1,4,0,0,0,1,4,0,13,0,"Price #1.1.1"
-,15,90,256,0,0,0,1,3,0,0,13,"[MOVE-TO PLACEHOLDER for #13, WS#1]"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/moveParentContentToDifferentPageNChangeSorting.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Assertion/moveParentContentToDifferentPageNChangeSorting.csv
deleted file mode 100644 (file)
index e10a8cb..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
-,299,-1,512,0,0,0,1,4,0,298,0,"Regular Element #2",6
-,300,90,256,0,0,0,1,3,0,0,298,"[MOVE-TO PLACEHOLDER for #298, WS#1]",
-,301,-1,256,0,0,0,1,4,0,297,0,"Regular Element #1","8,9"
-,302,90,512,0,0,0,1,3,0,0,297,"[MOVE-TO PLACEHOLDER for #297, WS#1]",
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
-,6,-1,64,0,0,0,1,4,0,5,0,"Hotel #1",9
-,7,90,256,0,0,0,1,3,0,0,5,"[MOVE-TO PLACEHOLDER for #5, WS#1]",
-,8,-1,256,0,0,0,1,4,0,3,0,"Hotel #1","11,12"
-,9,-1,128,0,0,0,1,4,0,4,0,"Hotel #2",13
-,10,90,128,0,0,0,1,3,0,0,4,"[MOVE-TO PLACEHOLDER for #4, WS#1]",
-,11,90,64,0,0,0,1,3,0,0,3,"[MOVE-TO PLACEHOLDER for #3, WS#1]",
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
-,9,-1,32,0,0,0,1,4,0,8,0,"Offer #1.1",14
-,10,90,256,0,0,0,1,3,0,0,8,"[MOVE-TO PLACEHOLDER for #8, WS#1]",
-,11,-1,256,0,0,0,1,4,0,5,0,"Offer #1.1","16,17,18"
-,12,-1,128,0,0,0,1,4,0,6,0,"Offer #1.2","19,20"
-,13,-1,64,0,0,0,1,4,0,7,0,"Offer #2.1",21
-,14,90,128,0,0,0,1,3,0,0,7,"[MOVE-TO PLACEHOLDER for #7, WS#1]",
-,15,90,64,0,0,0,1,3,0,0,6,"[MOVE-TO PLACEHOLDER for #6, WS#1]",
-,16,90,32,0,0,0,1,3,0,0,5,"[MOVE-TO PLACEHOLDER for #5, WS#1]",
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,14,-1,4,0,0,0,1,4,0,13,0,"Price #1.1.1"
-,15,90,256,0,0,0,1,3,0,0,13,"[MOVE-TO PLACEHOLDER for #13, WS#1]"
-,16,-1,256,0,0,0,1,4,0,7,0,"Price #1.1.1"
-,17,-1,128,0,0,0,1,4,0,8,0,"Price #1.1.2"
-,18,-1,64,0,0,0,1,4,0,9,0,"Price #1.1.3"
-,19,-1,32,0,0,0,1,4,0,10,0,"Price #1.2.1"
-,20,-1,16,0,0,0,1,4,0,11,0,"Price #1.2.2"
-,21,-1,8,0,0,0,1,4,0,12,0,"Price #2.1.1"
-,22,90,128,0,0,0,1,3,0,0,12,"[MOVE-TO PLACEHOLDER for #12, WS#1]"
-,23,90,64,0,0,0,1,3,0,0,11,"[MOVE-TO PLACEHOLDER for #11, WS#1]"
-,24,90,32,0,0,0,1,3,0,0,10,"[MOVE-TO PLACEHOLDER for #10, WS#1]"
-,25,90,16,0,0,0,1,3,0,0,9,"[MOVE-TO PLACEHOLDER for #9, WS#1]"
-,26,90,8,0,0,0,1,3,0,0,8,"[MOVE-TO PLACEHOLDER for #8, WS#1]"
-,27,90,4,0,0,0,1,3,0,0,7,"[MOVE-TO PLACEHOLDER for #7, WS#1]"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/LiveDefaultElements.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/LiveDefaultElements.csv
new file mode 100644 (file)
index 0000000..3bfb765
--- /dev/null
@@ -0,0 +1,35 @@
+sys_workspace
+,uid,pid,deleted,title,adminusers,members,reviewers,db_mountpoints,file_mountpoints,freeze,live_edit,vtypes,disable_autocreate,swap_modes,publish_access,custom_stages,stagechg_notification,edit_notification_mode,edit_notification_defaults,edit_allow_notificaton_settings,publish_notification_mode,publish_notification_defaults,publish_allow_notificaton_settings
+,1,0,0,"Workspace #1",,,,,,0,0,0,0,0,0,0,0,0,,0,0,,0
+,2,0,0,"Workspace #2",,,,,,0,0,0,0,0,0,0,0,0,,0,0,,0
+sys_workspace_stage
+,uid,pid,tstamp,deleted,sorting,title,responsible_persons,default_mailcomment,parentid,parenttable,notification_mode,notification_defaults,allow_notificaton_settings
+,1,0,1290048921,0,1,"Stage 1",be_users_3,,1,sys_workspace,0,,0
+"sys_language",,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,"3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,"5"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2","7"
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1","8"
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1","12"
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1","13"
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/LiveDefaultPages.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/LiveDefaultPages.csv
new file mode 100644 (file)
index 0000000..17b04d4
--- /dev/null
@@ -0,0 +1,6 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/ReferenceIndex.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/ReferenceIndex.csv
new file mode 100644 (file)
index 0000000..6eeedce
--- /dev/null
@@ -0,0 +1,18 @@
+sys_refindex
+,hash,tablename,recuid,field,flexpointer,softref_key,softref_id,sorting,deleted,ref_table,ref_uid,ref_string
+,25426f92d44dd2ccf416108462b446e3,sys_workspace,1,custom_stages,,,,0,0,sys_workspace_stage,1,
+,01a3ce8c4e3b2bb1aa439dc29081f996,sys_workspace_stage,1,responsible_persons,,,,0,0,be_users,3,
+,d20c2263100e9d49596ff592e2c63a45,tt_content,297,tx_irretutorial_1ncsv_hotels,,,,0,0,tx_irretutorial_1ncsv_hotel,3,
+,71a59c39ec1c1ed56feb5754e55cbf59,tt_content,297,tx_irretutorial_1ncsv_hotels,,,,1,0,tx_irretutorial_1ncsv_hotel,4,
+,d0ca54af87d14593218574e192943e83,tt_content,298,tx_irretutorial_1ncsv_hotels,,,,0,0,tx_irretutorial_1ncsv_hotel,5,
+,9c8b2401b26cba9644f6b33863aeaeba,tx_irretutorial_1ncsv_hotel,3,offers,,,,0,0,tx_irretutorial_1ncsv_offer,5,
+,b76c84527c9c517f0df8f673dae9d5c3,tx_irretutorial_1ncsv_hotel,3,offers,,,,1,0,tx_irretutorial_1ncsv_offer,6,
+,79cce354f8b11b767b151bedd46bff8a,tx_irretutorial_1ncsv_hotel,4,offers,,,,0,0,tx_irretutorial_1ncsv_offer,7,
+,f53f77fc8381f03edd959636f10584d8,tx_irretutorial_1ncsv_hotel,5,offers,,,,0,0,tx_irretutorial_1ncsv_offer,8,
+,cd7a7d76d574a76c0f1247d751a298cb,tx_irretutorial_1ncsv_offer,5,prices,,,,0,0,tx_irretutorial_1ncsv_price,7,
+,81a65308ffabb16bea0baae67935ccaa,tx_irretutorial_1ncsv_offer,5,prices,,,,1,0,tx_irretutorial_1ncsv_price,8,
+,554b9d0d426f626819cb417514316c4f,tx_irretutorial_1ncsv_offer,5,prices,,,,2,0,tx_irretutorial_1ncsv_price,9,
+,a4b561fbbe5a18e56a4994716b04e105,tx_irretutorial_1ncsv_offer,6,prices,,,,0,0,tx_irretutorial_1ncsv_price,10,
+,b3963a4f186e2a6a9f99f8bc56032e5b,tx_irretutorial_1ncsv_offer,6,prices,,,,1,0,tx_irretutorial_1ncsv_price,11,
+,fe803b6ecad9e2f344d769915bef71b6,tx_irretutorial_1ncsv_offer,7,prices,,,,0,0,tx_irretutorial_1ncsv_price,12,
+,4f04e32221eb9407dca98a1b356e3b25,tx_irretutorial_1ncsv_offer,8,prices,,,,0,0,tx_irretutorial_1ncsv_price,13,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/LiveDefaultElements.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/LiveDefaultElements.csv
deleted file mode 100644 (file)
index 3bfb765..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-sys_workspace
-,uid,pid,deleted,title,adminusers,members,reviewers,db_mountpoints,file_mountpoints,freeze,live_edit,vtypes,disable_autocreate,swap_modes,publish_access,custom_stages,stagechg_notification,edit_notification_mode,edit_notification_defaults,edit_allow_notificaton_settings,publish_notification_mode,publish_notification_defaults,publish_allow_notificaton_settings
-,1,0,0,"Workspace #1",,,,,,0,0,0,0,0,0,0,0,0,,0,0,,0
-,2,0,0,"Workspace #2",,,,,,0,0,0,0,0,0,0,0,0,,0,0,,0
-sys_workspace_stage
-,uid,pid,tstamp,deleted,sorting,title,responsible_persons,default_mailcomment,parentid,parenttable,notification_mode,notification_defaults,allow_notificaton_settings
-,1,0,1290048921,0,1,"Stage 1",be_users_3,,1,sys_workspace,0,,0
-"sys_language",,,,,,,,,,,,,,,
-,"uid","pid","hidden","title","flag",,,,,,,,,,
-,1,0,0,"Dansk","dk",,,,,,,,,,
-,2,0,0,"Deutsch","de",,,,,,,,,,
-tt_content
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,image,tx_irretutorial_1ncsv_hotels
-,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1",,"3,4"
-,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",,"5"
-tx_irretutorial_1ncsv_hotel
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
-,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
-,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2","7"
-,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1","8"
-tx_irretutorial_1ncsv_offer
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
-,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
-,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
-,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1","12"
-,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1","13"
-tx_irretutorial_1ncsv_price
-,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
-,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
-,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
-,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
-,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
-,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
-,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/LiveDefaultPages.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/DataSet/Scenario/LiveDefaultPages.csv
deleted file mode 100644 (file)
index 17b04d4..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-pages
-,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
-,1,0,256,0,0,0,0,0,0,FunctionalTest
-,88,1,256,0,0,0,0,0,0,DataHandlerTest
-,89,88,256,0,0,0,0,0,0,Relations
-,90,88,512,0,0,0,0,0,0,Target
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/ActionTest.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/ActionTest.php
new file mode 100644 (file)
index 0000000..77047a8
--- /dev/null
@@ -0,0 +1,495 @@
+<?php
+namespace TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\Modify;
+
+/***************************************************************
+ * Copyright notice
+ *
+ * (c) 2014 Oliver Hader <oliver.hader@typo3.org>
+ * All rights reserved
+ *
+ * This script is part of the TYPO3 project. The TYPO3 project is
+ * free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The GNU General Public License can be found at
+ * http://www.gnu.org/copyleft/gpl.html.
+ *
+ * This script is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * This copyright notice MUST APPEAR in all copies of the script!
+ ***************************************************************/
+
+require_once dirname(dirname(__FILE__)) . '/AbstractActionTestCase.php';
+
+/**
+ * Functional test for the DataHandler
+ */
+class ActionTest extends \TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase {
+
+       /**
+        * @var string
+        */
+       protected $assertionDataSetDirectory = 'typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/';
+
+       /**
+        * Parent content records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createParentContentRecord.csv
+        */
+       public function createParentContent() {
+               parent::createParentContent();
+               $this->assertAssertionDataSet('createParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentContentRecord.csv
+        */
+       public function modifyParentContent() {
+               parent::modifyParentContent();
+               $this->assertAssertionDataSet('modifyParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1')
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deleteParentContentRecord.csv
+        */
+       public function deleteParentContent() {
+               parent::deleteParentContent();
+               $this->assertAssertionDataSet('deleteParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deleteParentContentRecordAndDiscardDeletedParentRecord.csv
+        */
+       public function deleteParentContentAndDiscardDeletedParent() {
+               parent::deleteParentContentAndDiscardDeletedParent();
+               $this->assertAssertionDataSet('deleteParentContentNDiscardDeletedParent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyParentContentRecord.csv
+        */
+       public function copyParentContent() {
+               parent::copyParentContent();
+               $this->assertAssertionDataSet('copyParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/localizeParentContentRecord.csv
+        */
+       public function localizeParentContent() {
+               parent::localizeParentContent();
+               $this->assertAssertionDataSet('localizeParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('[Translate to Dansk:] Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/changeParentContentRecordSorting.csv
+        */
+       public function changeParentContentSorting() {
+               parent::changeParentContentSorting();
+               $this->assertAssertionDataSet('changeParentContentSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1')
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/moveParentContentRecordToDifferentPage.csv
+        */
+       public function moveParentContentToDifferentPage() {
+               parent::moveParentContentToDifferentPage();
+               $this->assertAssertionDataSet('moveParentContentToDifferentPage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+
+               // @todo Workspace child records gets lost due to core bug
+               /*
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/moveParentContentRecordToDifferentPageAndChangeSorting.csv
+        */
+       public function moveParentContentToDifferentPageAndChangeSorting() {
+               parent::moveParentContentToDifferentPageAndChangeSorting();
+               $this->assertAssertionDataSet('moveParentContentToDifferentPageNChangeSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #2', 'Regular Element #1'));
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1')
+                       );
+               */
+       }
+
+       /**
+        * Page records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyPageRecord.csv
+        */
+       public function modifyPage() {
+               parent::modifyPage();
+               $this->assertAssertionDataSet('modifyPage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Testing #1');
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deletePageRecord.csv
+        */
+       public function deletePage() {
+               parent::deletePage();
+               $this->assertAssertionDataSet('deletePage');
+
+               $response = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId, FALSE);
+               $this->assertContains('RuntimeException', $response->getError());
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyPageRecord.csv
+        */
+       public function copyPage() {
+               parent::copyPage();
+               $this->assertAssertionDataSet('copyPage');
+
+               $responseContent = $this->getFrontendResponse($this->recordIds['newPageId'], 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2', 'Hotel #1'));
+       }
+
+       /**
+        * IRRE Child Records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createParentContentWithHotelAndOfferChildren() {
+               parent::createParentContentWithHotelAndOfferChildren();
+               $this->assertAssertionDataSet('createParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+
+               // @todo Shadow fields are not correct on the new placeholder
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', 'Hotel #1'
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndCopyParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createAndCopyParentContentWithHotelAndOfferChildren() {
+               parent::createAndCopyParentContentWithHotelAndOfferChildren();
+               // @todo Copying the new child records is broken in the Core
+               $this->assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1 (copy 1)');
+
+               // @todo Shadow fields are not correct on the new placeholder
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', 'Hotel #1'
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . $this->recordIds['copiedContentId'], self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', 'Hotel #1'
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Hotel . ':' . $this->recordIds['copiedHotelId'], self::FIELD_HotelOffer,
+                               self::TABLE_Offer, 'title', 'Offer #1'
+                       );
+                */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndCopyParentContentRecordWithHotelAndOfferChildRecordsAndDiscardCopiedParentRecord.csv
+        */
+       public function createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent() {
+               parent::createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent();
+               // @todo Copying the new child records is broken in the Core
+               $this->assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1 (copy 1)');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createAndLocalizeParentContentWithHotelAndOfferChildren() {
+               parent::createAndLocalizeParentContentWithHotelAndOfferChildren();
+               // @todo Localizing the new child records is broken in the Core
+               $this->assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', '[Translate to Dansk:] Testing #1');
+
+               // @todo Does not work since children don't point to live-default record
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . $this->recordIds['localizedContentId'], self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', '[Translate to Dansk:] Hotel #1'
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Hotel . ':' . $this->recordIds['localizedHotelId'], self::FIELD_HotelOffer,
+                               self::TABLE_Offer, 'title', '[Translate to Dansk:] Offer #1'
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecordsAndDiscardLocalizedParentRecord.csv
+        */
+       public function createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent() {
+               parent::createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent();
+               // @todo Localizing the new child records is broken in the Core
+               $this->assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', '[Translate to Dansk:] Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyOnlyHotelChildRecord.csv
+        */
+       public function modifyOnlyHotelChild() {
+               parent::modifyOnlyHotelChild();
+               $this->assertAssertionDataSet('modifyOnlyHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordAndChangeHotelChildRecordsSorting.csv
+        */
+       public function modifyParentAndChangeHotelChildrenSorting() {
+               parent::modifyParentAndChangeHotelChildrenSorting();
+               $this->assertAssertionDataSet('modifyParentNChangeHotelChildrenSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #2', 'Hotel #1')
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordWithHotelChildRecord.csv
+        */
+       public function modifyParentWithHotelChild() {
+               parent::modifyParentWithHotelChild();
+               $this->assertAssertionDataSet('modifyParentNHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordWithHotelChildRecordAndDiscardModifiedParentRecord.csv
+        */
+       public function modifyParentWithHotelChildAndDiscardModifiedParent() {
+               parent::modifyParentWithHotelChildAndDiscardModifiedParent();
+               $this->assertAssertionDataSet('modifyParentNHotelChildNDiscardModifiedParent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #1');
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
+                       // @todo Discarding the parent record should discard the child records as well
+                       // self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+               );
+               /*
+                       $this->assertResponseContentStructureDoesNotHaveRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', 'Testing #1'
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordWithHotelChildRecordAndDiscardAllModifiedRecords.csv
+        */
+       public function modifyParentWithHotelChildAndDiscardAll() {
+               parent::modifyParentWithHotelChildAndDiscardAll();
+               $this->assertAssertionDataSet('modifyParentNHotelChildNDiscardAll');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #1');
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordAndAddHotelChildRecord.csv
+        */
+       public function modifyParentAndAddHotelChild() {
+               parent::modifyParentAndAddHotelChild();
+               $this->assertAssertionDataSet('modifyParentNAddHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+
+               // @todo Child record cannot be selected since they do not point to the live record
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordAndDeleteHotelChildRecord.csv
+        */
+       public function modifyParentAndDeleteHotelChild() {
+               parent::modifyParentAndDeleteHotelChild();
+               $this->assertAssertionDataSet('modifyParentNDeleteHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #1'
+               );
+               $this->assertResponseContentStructureDoesNotHaveRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #2'
+               );
+       }
+
+}
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/changeParentContentSorting.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/changeParentContentSorting.csv
new file mode 100644 (file)
index 0000000..e17ebc7
--- /dev/null
@@ -0,0 +1,48 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,256,0,0,0,1,4,0,297,0,"Regular Element #1","6,7"
+,300,89,768,0,0,0,1,3,0,0,297,"[MOVE-TO PLACEHOLDER for #297, WS#1]",
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,256,0,0,0,1,4,0,3,0,"Hotel #1","9,10"
+,7,-1,128,0,0,0,1,4,0,4,0,"Hotel #2",11
+,8,89,32,0,0,0,1,3,0,0,4,"[MOVE-TO PLACEHOLDER for #4, WS#1]",
+,9,89,16,0,0,0,1,3,0,0,3,"[MOVE-TO PLACEHOLDER for #3, WS#1]",
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,256,0,0,0,1,4,0,5,0,"Offer #1.1","14,15,16"
+,10,-1,128,0,0,0,1,4,0,6,0,"Offer #1.2","17,18"
+,11,-1,64,0,0,0,1,4,0,7,0,"Offer #2.1",19
+,12,89,16,0,0,0,1,3,0,0,7,"[MOVE-TO PLACEHOLDER for #7, WS#1]",
+,13,89,8,0,0,0,1,3,0,0,6,"[MOVE-TO PLACEHOLDER for #6, WS#1]",
+,14,89,4,0,0,0,1,3,0,0,5,"[MOVE-TO PLACEHOLDER for #5, WS#1]",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,2816,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,2560,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,2304,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,2048,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,1792,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,1536,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,1280,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,256,0,0,0,1,4,0,7,0,"Price #1.1.1"
+,15,-1,128,0,0,0,1,4,0,8,0,"Price #1.1.2"
+,16,-1,64,0,0,0,1,4,0,9,0,"Price #1.1.3"
+,17,-1,32,0,0,0,1,4,0,10,0,"Price #1.2.1"
+,18,-1,16,0,0,0,1,4,0,11,0,"Price #1.2.2"
+,19,-1,8,0,0,0,1,4,0,12,0,"Price #2.1.1"
+,20,89,1024,0,0,0,1,3,0,0,12,"[MOVE-TO PLACEHOLDER for #12, WS#1]"
+,21,89,768,0,0,0,1,3,0,0,11,"[MOVE-TO PLACEHOLDER for #11, WS#1]"
+,22,89,512,0,0,0,1,3,0,0,10,"[MOVE-TO PLACEHOLDER for #10, WS#1]"
+,23,89,256,0,0,0,1,3,0,0,9,"[MOVE-TO PLACEHOLDER for #9, WS#1]"
+,24,89,128,0,0,0,1,3,0,0,8,"[MOVE-TO PLACEHOLDER for #8, WS#1]"
+,25,89,64,0,0,0,1,3,0,0,7,"[MOVE-TO PLACEHOLDER for #7, WS#1]"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyPage.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyPage.csv
new file mode 100644 (file)
index 0000000..07822d7
--- /dev/null
@@ -0,0 +1,50 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
+,91,90,256,0,1,1,0,0,0,Relations
+,92,-1,256,0,1,-1,0,91,0,Relations
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,91,256,0,0,0,1,1,0,0,0,"Regular Element #2",
+,300,-1,256,0,0,0,1,-1,0,299,0,"Regular Element #2",6
+,301,91,128,0,0,0,1,1,0,0,0,"Regular Element #1",
+,302,-1,128,0,0,0,1,-1,0,301,0,"Regular Element #1","7,8"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,91,64,0,0,0,0,0,0,0,0,"Hotel #1",9
+,7,91,256,0,0,0,0,0,0,0,0,"Hotel #1","10,11"
+,8,91,128,0,0,0,0,0,0,0,0,"Hotel #2",12
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,91,32,0,0,0,0,0,0,0,0,"Offer #1.1",14
+,10,91,256,0,0,0,0,0,0,0,0,"Offer #1.1","15,16,17"
+,11,91,128,0,0,0,0,0,0,0,0,"Offer #1.2","18,19"
+,12,91,64,0,0,0,0,0,0,0,0,"Offer #2.1",20
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,91,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,15,91,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,16,91,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,17,91,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,18,91,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,19,91,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,20,91,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/copyParentContent.csv
new file mode 100644 (file)
index 0000000..c3177f4
--- /dev/null
@@ -0,0 +1,29 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,1,1,0,0,0,"Regular Element #2 (copy 1)",
+,300,-1,128,0,0,0,1,-1,0,299,0,"Regular Element #2 (copy 1)",6
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,64,0,0,0,0,0,0,0,0,"Hotel #1",9
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",14
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNCopyParentContentNHotelNOfferChildren.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNCopyParentContentNHotelNOfferChildren.csv
new file mode 100644 (file)
index 0000000..4c1bdc4
--- /dev/null
@@ -0,0 +1,34 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,1,1,0,0,0,"Testing #1",
+,300,-1,128,0,0,0,1,-1,0,299,0,"Testing #1",7
+,301,89,64,0,0,0,1,1,0,0,0,"Testing #1 (copy 1)",
+,302,-1,64,0,0,0,1,-1,0,301,0,"Testing #1 (copy 1)",8
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,1,1,0,0,0,"Hotel #1",
+,7,-1,32,0,0,0,1,-1,0,6,0,"Hotel #1",10
+,8,89,32,0,0,0,1,-1,0,6,0,"Hotel #1",11
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,16,0,0,0,1,1,0,0,0,"Offer #1",
+,10,-1,16,0,0,0,1,-1,0,9,0,"Offer #1",
+,11,89,16,0,0,0,1,-1,0,9,0,"Offer #1",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv
new file mode 100644 (file)
index 0000000..1219ea5
--- /dev/null
@@ -0,0 +1,36 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,1,1,0,0,0,"Testing #1",
+,300,-1,128,0,0,0,1,-1,0,299,0,"Testing #1",7
+,301,89,1000000000,1,0,0,0,1,0,0,0,"Testing #1 (copy 1)",
+,302,-1,1000000000,1,0,0,0,-1,0,301,0,"Testing #1 (copy 1)",8
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,1,1,0,0,0,"Hotel #1",
+,7,-1,32,0,0,0,1,-1,0,6,0,"Hotel #1",10
+,8,89,32,0,0,0,1,-1,0,6,0,"Hotel #1",11
+,9,-1,32,0,0,0,1,2,0,8,0,"Hotel #1",12
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,16,0,0,0,1,1,0,0,0,"Offer #1",
+,10,-1,16,0,0,0,1,-1,0,9,0,"Offer #1",
+,11,89,16,0,0,0,1,-1,0,9,0,"Offer #1",
+,12,-1,16,0,0,0,1,2,0,11,0,"Offer #1",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv
new file mode 100644 (file)
index 0000000..e6e5795
--- /dev/null
@@ -0,0 +1,34 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,1,1,0,0,0,"Testing #1",
+,300,-1,128,0,0,0,1,-1,0,299,0,"Testing #1",7
+,301,89,192,0,1,299,1,1,0,0,0,"[Translate to Dansk:] Testing #1",
+,302,-1,192,0,1,299,1,-1,0,301,0,"[Translate to Dansk:] Testing #1",8
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,1,1,0,0,0,"Hotel #1",
+,7,-1,32,0,0,0,1,-1,0,6,0,"Hotel #1",10
+,8,89,48,0,1,7,1,1,0,0,0,"[Translate to Dansk:] Hotel #1",
+,9,-1,48,0,1,7,1,-1,0,8,0,"[Translate to Dansk:] Hotel #1",
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,16,0,0,0,1,1,0,0,0,"Offer #1",
+,10,-1,16,0,0,0,1,-1,0,9,0,"Offer #1",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv
new file mode 100644 (file)
index 0000000..58b2729
--- /dev/null
@@ -0,0 +1,34 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,1,1,0,0,0,"Testing #1",
+,300,-1,128,0,0,0,1,-1,0,299,0,"Testing #1",7
+,301,89,1000000000,1,1,299,0,1,0,0,0,"[Translate to Dansk:] Testing #1",
+,302,-1,1000000000,1,1,299,0,-1,0,301,0,"[Translate to Dansk:] Testing #1",8
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,1,1,0,0,0,"Hotel #1",
+,7,-1,32,0,0,0,1,-1,0,6,0,"Hotel #1",10
+,8,89,1000000000,1,1,7,0,1,0,0,0,"[Translate to Dansk:] Hotel #1",
+,9,-1,1000000000,1,1,7,0,-1,0,8,0,"[Translate to Dansk:] Hotel #1",
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,16,0,0,0,1,1,0,0,0,"Offer #1",
+,10,-1,16,0,0,0,1,-1,0,9,0,"Offer #1",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createParentContent.csv
new file mode 100644 (file)
index 0000000..f188853
--- /dev/null
@@ -0,0 +1,6 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,1,1,0,0,0,"Testing #1",
+,300,-1,128,0,0,0,1,-1,0,299,0,"Testing #1",
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createParentContentNHotelNOfferChildren.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/createParentContentNHotelNOfferChildren.csv
new file mode 100644 (file)
index 0000000..3b0d8a2
--- /dev/null
@@ -0,0 +1,30 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,1,1,0,0,0,"Testing #1",
+,300,-1,128,0,0,0,1,-1,0,299,0,"Testing #1",7
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,1,1,0,0,0,"Hotel #1",
+,7,-1,32,0,0,0,1,-1,0,6,0,"Hotel #1",10
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,16,0,0,0,1,1,0,0,0,"Offer #1",
+,10,-1,16,0,0,0,1,-1,0,9,0,"Offer #1",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deletePage.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deletePage.csv
new file mode 100644 (file)
index 0000000..164496e
--- /dev/null
@@ -0,0 +1,31 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
+,91,-1,256,0,1,2,0,89,0,Relations
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deleteParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deleteParentContent.csv
new file mode 100644 (file)
index 0000000..2ad50d9
--- /dev/null
@@ -0,0 +1,28 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,512,0,0,0,1,2,0,298,0,"Regular Element #2",6
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,64,0,0,0,1,2,0,5,0,"Hotel #1",9
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,32,0,0,0,1,2,0,8,0,"Offer #1.1",14
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,4,0,0,0,1,2,0,13,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deleteParentContentNDiscardDeletedParent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/deleteParentContentNDiscardDeletedParent.csv
new file mode 100644 (file)
index 0000000..65982aa
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/localizeParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/localizeParentContent.csv
new file mode 100644 (file)
index 0000000..6424a80
--- /dev/null
@@ -0,0 +1,28 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,768,0,1,298,1,1,0,0,0,"[Translate to Dansk:] Regular Element #2",
+,300,-1,768,0,1,298,1,-1,0,299,0,"[Translate to Dansk:] Regular Element #2",6
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,96,0,1,5,1,1,0,0,0,"[Translate to Dansk:] Hotel #1",
+,7,-1,96,0,1,5,1,-1,0,6,0,"[Translate to Dansk:] Hotel #1",
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyOnlyHotelChild.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyOnlyHotelChild.csv
new file mode 100644 (file)
index 0000000..df66083
--- /dev/null
@@ -0,0 +1,27 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,128,0,0,0,1,0,0,4,0,"Testing #1",9
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,64,0,0,0,1,0,0,7,0,"Offer #2.1",14
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,8,0,0,0,1,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyPage.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyPage.csv
new file mode 100644 (file)
index 0000000..152cda4
--- /dev/null
@@ -0,0 +1,31 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
+,91,-1,256,0,1,0,0,89,0,"Testing #1"
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentContent.csv
new file mode 100644 (file)
index 0000000..e94c199
--- /dev/null
@@ -0,0 +1,28 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,512,0,0,0,1,0,0,298,0,"Testing #1",6
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,64,0,0,0,1,0,0,5,0,"Hotel #1",9
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,32,0,0,0,1,0,0,8,0,"Offer #1.1",14
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,4,0,0,0,1,0,0,13,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNAddHotelChild.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNAddHotelChild.csv
new file mode 100644 (file)
index 0000000..7cce712
--- /dev/null
@@ -0,0 +1,30 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,512,0,0,0,1,0,0,298,0,"Regular Element #2","6,8"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,64,0,0,0,1,0,0,5,0,"Hotel #1",9
+,7,89,32,0,0,0,1,1,0,0,0,"Hotel #2",
+,8,-1,32,0,0,0,1,-1,0,7,0,"Hotel #2",
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,32,0,0,0,1,0,0,8,0,"Offer #1.1",14
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,4,0,0,0,1,0,0,13,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNChangeHotelChildrenSorting.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNChangeHotelChildrenSorting.csv
new file mode 100644 (file)
index 0000000..f337095
--- /dev/null
@@ -0,0 +1,36 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,256,0,0,0,1,0,0,297,0,"Regular Element #1","7,6"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,256,0,0,0,1,0,0,3,0,"Hotel #1","9,10"
+,7,-1,128,0,0,0,1,0,0,4,0,"Hotel #2",11
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,256,0,0,0,1,0,0,5,0,"Offer #1.1","14,15,16"
+,10,-1,128,0,0,0,1,0,0,6,0,"Offer #1.2","17,18"
+,11,-1,64,0,0,0,1,0,0,7,0,"Offer #2.1",19
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,256,0,0,0,1,0,0,7,0,"Price #1.1.1"
+,15,-1,128,0,0,0,1,0,0,8,0,"Price #1.1.2"
+,16,-1,64,0,0,0,1,0,0,9,0,"Price #1.1.3"
+,17,-1,32,0,0,0,1,0,0,10,0,"Price #1.2.1"
+,18,-1,16,0,0,0,1,0,0,11,0,"Price #1.2.2"
+,19,-1,8,0,0,0,1,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNDeleteHotelChild.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNDeleteHotelChild.csv
new file mode 100644 (file)
index 0000000..2550b96
--- /dev/null
@@ -0,0 +1,36 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,256,0,0,0,1,0,0,297,0,"Regular Element #1",6
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,256,0,0,0,1,0,0,3,0,"Hotel #1","9,10"
+,7,-1,128,0,0,0,1,2,0,4,0,"Hotel #2",11
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,256,0,0,0,1,0,0,5,0,"Offer #1.1","14,15,16"
+,10,-1,128,0,0,0,1,0,0,6,0,"Offer #1.2","17,18"
+,11,-1,64,0,0,0,1,2,0,7,0,"Offer #2.1",19
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,256,0,0,0,1,0,0,7,0,"Price #1.1.1"
+,15,-1,128,0,0,0,1,0,0,8,0,"Price #1.1.2"
+,16,-1,64,0,0,0,1,0,0,9,0,"Price #1.1.3"
+,17,-1,32,0,0,0,1,0,0,10,0,"Price #1.2.1"
+,18,-1,16,0,0,0,1,0,0,11,0,"Price #1.2.2"
+,19,-1,8,0,0,0,1,2,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNHotelChild.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNHotelChild.csv
new file mode 100644 (file)
index 0000000..8d065f6
--- /dev/null
@@ -0,0 +1,36 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,256,0,0,0,1,0,0,297,0,"Regular Element #1","6,7"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,256,0,0,0,1,0,0,3,0,"Hotel #1","9,10"
+,7,-1,128,0,0,0,1,0,0,4,0,"Testing #1",11
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,256,0,0,0,1,0,0,5,0,"Offer #1.1","14,15,16"
+,10,-1,128,0,0,0,1,0,0,6,0,"Offer #1.2","17,18"
+,11,-1,64,0,0,0,1,0,0,7,0,"Offer #2.1",19
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,256,0,0,0,1,0,0,7,0,"Price #1.1.1"
+,15,-1,128,0,0,0,1,0,0,8,0,"Price #1.1.2"
+,16,-1,64,0,0,0,1,0,0,9,0,"Price #1.1.3"
+,17,-1,32,0,0,0,1,0,0,10,0,"Price #1.2.1"
+,18,-1,16,0,0,0,1,0,0,11,0,"Price #1.2.2"
+,19,-1,8,0,0,0,1,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNHotelChildNDiscardAll.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNHotelChildNDiscardAll.csv
new file mode 100644 (file)
index 0000000..0c80944
--- /dev/null
@@ -0,0 +1,36 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,256,0,0,0,0,0,0,297,0,"Regular Element #1","6,7"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,256,0,0,0,1,0,0,3,0,"Hotel #1","9,10"
+,7,-1,128,0,0,0,0,0,0,4,0,"Testing #1",11
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,256,0,0,0,1,0,0,5,0,"Offer #1.1","14,15,16"
+,10,-1,128,0,0,0,1,0,0,6,0,"Offer #1.2","17,18"
+,11,-1,64,0,0,0,1,0,0,7,0,"Offer #2.1",19
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,256,0,0,0,1,0,0,7,0,"Price #1.1.1"
+,15,-1,128,0,0,0,1,0,0,8,0,"Price #1.1.2"
+,16,-1,64,0,0,0,1,0,0,9,0,"Price #1.1.3"
+,17,-1,32,0,0,0,1,0,0,10,0,"Price #1.2.1"
+,18,-1,16,0,0,0,1,0,0,11,0,"Price #1.2.2"
+,19,-1,8,0,0,0,1,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNHotelChildNDiscardModifiedParent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/modifyParentNHotelChildNDiscardModifiedParent.csv
new file mode 100644 (file)
index 0000000..e4d41f6
--- /dev/null
@@ -0,0 +1,36 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,256,0,0,0,0,0,0,297,0,"Regular Element #1","6,7"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,256,0,0,0,1,0,0,3,0,"Hotel #1","9,10"
+,7,-1,128,0,0,0,1,0,0,4,0,"Testing #1",11
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,256,0,0,0,1,0,0,5,0,"Offer #1.1","14,15,16"
+,10,-1,128,0,0,0,1,0,0,6,0,"Offer #1.2","17,18"
+,11,-1,64,0,0,0,1,0,0,7,0,"Offer #2.1",19
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,256,0,0,0,1,0,0,7,0,"Price #1.1.1"
+,15,-1,128,0,0,0,1,0,0,8,0,"Price #1.1.2"
+,16,-1,64,0,0,0,1,0,0,9,0,"Price #1.1.3"
+,17,-1,32,0,0,0,1,0,0,10,0,"Price #1.2.1"
+,18,-1,16,0,0,0,1,0,0,11,0,"Price #1.2.2"
+,19,-1,8,0,0,0,1,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/moveParentContentToDifferentPage.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/moveParentContentToDifferentPage.csv
new file mode 100644 (file)
index 0000000..bf93e52
--- /dev/null
@@ -0,0 +1,32 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,512,0,0,0,1,4,0,298,0,"Regular Element #2",6
+,300,90,256,0,0,0,1,3,0,0,298,"[MOVE-TO PLACEHOLDER for #298, WS#1]",
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,64,0,0,0,1,4,0,5,0,"Hotel #1",9
+,7,90,256,0,0,0,1,3,0,0,5,"[MOVE-TO PLACEHOLDER for #5, WS#1]",
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,32,0,0,0,1,4,0,8,0,"Offer #1.1",14
+,10,90,256,0,0,0,1,3,0,0,8,"[MOVE-TO PLACEHOLDER for #8, WS#1]",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,4,0,0,0,1,4,0,13,0,"Price #1.1.1"
+,15,90,256,0,0,0,1,3,0,0,13,"[MOVE-TO PLACEHOLDER for #13, WS#1]"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/moveParentContentToDifferentPageNChangeSorting.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Modify/DataSet/moveParentContentToDifferentPageNChangeSorting.csv
new file mode 100644 (file)
index 0000000..e10a8cb
--- /dev/null
@@ -0,0 +1,56 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,512,0,0,0,1,4,0,298,0,"Regular Element #2",6
+,300,90,256,0,0,0,1,3,0,0,298,"[MOVE-TO PLACEHOLDER for #298, WS#1]",
+,301,-1,256,0,0,0,1,4,0,297,0,"Regular Element #1","8,9"
+,302,90,512,0,0,0,1,3,0,0,297,"[MOVE-TO PLACEHOLDER for #297, WS#1]",
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,64,0,0,0,1,4,0,5,0,"Hotel #1",9
+,7,90,256,0,0,0,1,3,0,0,5,"[MOVE-TO PLACEHOLDER for #5, WS#1]",
+,8,-1,256,0,0,0,1,4,0,3,0,"Hotel #1","11,12"
+,9,-1,128,0,0,0,1,4,0,4,0,"Hotel #2",13
+,10,90,128,0,0,0,1,3,0,0,4,"[MOVE-TO PLACEHOLDER for #4, WS#1]",
+,11,90,64,0,0,0,1,3,0,0,3,"[MOVE-TO PLACEHOLDER for #3, WS#1]",
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,32,0,0,0,1,4,0,8,0,"Offer #1.1",14
+,10,90,256,0,0,0,1,3,0,0,8,"[MOVE-TO PLACEHOLDER for #8, WS#1]",
+,11,-1,256,0,0,0,1,4,0,5,0,"Offer #1.1","16,17,18"
+,12,-1,128,0,0,0,1,4,0,6,0,"Offer #1.2","19,20"
+,13,-1,64,0,0,0,1,4,0,7,0,"Offer #2.1",21
+,14,90,128,0,0,0,1,3,0,0,7,"[MOVE-TO PLACEHOLDER for #7, WS#1]",
+,15,90,64,0,0,0,1,3,0,0,6,"[MOVE-TO PLACEHOLDER for #6, WS#1]",
+,16,90,32,0,0,0,1,3,0,0,5,"[MOVE-TO PLACEHOLDER for #5, WS#1]",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,4,0,0,0,1,4,0,13,0,"Price #1.1.1"
+,15,90,256,0,0,0,1,3,0,0,13,"[MOVE-TO PLACEHOLDER for #13, WS#1]"
+,16,-1,256,0,0,0,1,4,0,7,0,"Price #1.1.1"
+,17,-1,128,0,0,0,1,4,0,8,0,"Price #1.1.2"
+,18,-1,64,0,0,0,1,4,0,9,0,"Price #1.1.3"
+,19,-1,32,0,0,0,1,4,0,10,0,"Price #1.2.1"
+,20,-1,16,0,0,0,1,4,0,11,0,"Price #1.2.2"
+,21,-1,8,0,0,0,1,4,0,12,0,"Price #2.1.1"
+,22,90,128,0,0,0,1,3,0,0,12,"[MOVE-TO PLACEHOLDER for #12, WS#1]"
+,23,90,64,0,0,0,1,3,0,0,11,"[MOVE-TO PLACEHOLDER for #11, WS#1]"
+,24,90,32,0,0,0,1,3,0,0,10,"[MOVE-TO PLACEHOLDER for #10, WS#1]"
+,25,90,16,0,0,0,1,3,0,0,9,"[MOVE-TO PLACEHOLDER for #9, WS#1]"
+,26,90,8,0,0,0,1,3,0,0,8,"[MOVE-TO PLACEHOLDER for #8, WS#1]"
+,27,90,4,0,0,0,1,3,0,0,7,"[MOVE-TO PLACEHOLDER for #7, WS#1]"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/ActionTest.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/ActionTest.php
new file mode 100644 (file)
index 0000000..9ef69c6
--- /dev/null
@@ -0,0 +1,542 @@
+<?php
+namespace TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\Publish;
+
+/***************************************************************
+ * Copyright notice
+ *
+ * (c) 2014 Oliver Hader <oliver.hader@typo3.org>
+ * All rights reserved
+ *
+ * This script is part of the TYPO3 project. The TYPO3 project is
+ * free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The GNU General Public License can be found at
+ * http://www.gnu.org/copyleft/gpl.html.
+ *
+ * This script is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * This copyright notice MUST APPEAR in all copies of the script!
+ ***************************************************************/
+
+require_once dirname(dirname(__FILE__)) . '/AbstractActionTestCase.php';
+
+/**
+ * Functional test for the DataHandler
+ */
+class ActionTest extends \TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase {
+
+       /**
+        * @var string
+        */
+       protected $assertionDataSetDirectory = 'typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/';
+
+       /**
+        * Parent content records
+        */
+
+       public function setUp() {
+               parent::setUp();
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createParentContentRecord.csv
+        */
+       public function createParentContent() {
+               parent::createParentContent();
+               $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
+               $this->assertAssertionDataSet('createParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentContentRecord.csv
+        */
+       public function modifyParentContent() {
+               parent::modifyParentContent();
+               $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
+               $this->assertAssertionDataSet('modifyParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1')
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deleteParentContentRecord.csv
+        */
+       public function deleteParentContent() {
+               parent::deleteParentContent();
+               $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
+               $this->assertAssertionDataSet('deleteParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deleteParentContentRecordAndDiscardDeletedParentRecord.csv
+        */
+       public function deleteParentContentAndDiscardDeletedParent() {
+               parent::deleteParentContentAndDiscardDeletedParent();
+               // Actually this is not required, since there's nothing to publish... but it's a test case!
+               $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdLast, FALSE);
+               $this->assertAssertionDataSet('deleteParentContentNDiscardDeletedParent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyParentContentRecord.csv
+        */
+       public function copyParentContent() {
+               $this->markTestSkipped('Skipped due to core bugs...');
+               parent::copyParentContent();
+               $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
+               $this->assertAssertionDataSet('copyParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/localizeParentContentRecord.csv
+        */
+       public function localizeParentContent() {
+               $this->markTestSkipped('Skipped due to core bugs...');
+               parent::localizeParentContent();
+               $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['localizedContentId']);
+               $this->assertAssertionDataSet('localizeParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('[Translate to Dansk:] Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/changeParentContentRecordSorting.csv
+        */
+       public function changeParentContentSorting() {
+               parent::changeParentContentSorting();
+               $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst);
+               $this->assertAssertionDataSet('changeParentContentSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1')
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/moveParentContentRecordToDifferentPage.csv
+        */
+       public function moveParentContentToDifferentPage() {
+               parent::moveParentContentToDifferentPage();
+               $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
+               $this->assertAssertionDataSet('moveParentContentToDifferentPage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+
+               // @todo Workspace child records gets lost due to core bug
+               /*
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/moveParentContentRecordToDifferentPageAndChangeSorting.csv
+        */
+       public function moveParentContentToDifferentPageAndChangeSorting() {
+               parent::moveParentContentToDifferentPageAndChangeSorting();
+               $this->actionService->publishRecords(
+                       array(
+                               self::TABLE_Content => array(self::VALUE_ContentIdFirst, self::VALUE_ContentIdLast),
+                       )
+               );
+               $this->assertAssertionDataSet('moveParentContentToDifferentPageNChangeSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #2', 'Regular Element #1'));
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1')
+                       );
+               */
+       }
+
+       /**
+        * Page records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyPageRecord.csv
+        */
+       public function modifyPage() {
+               parent::modifyPage();
+               $this->actionService->publishRecord(self::TABLE_Page, self::VALUE_PageId);
+               $this->assertAssertionDataSet('modifyPage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Testing #1');
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deletePageRecord.csv
+        */
+       public function deletePage() {
+               parent::deletePage();
+               $this->actionService->publishRecord(self::TABLE_Page, self::VALUE_PageId);
+               $this->assertAssertionDataSet('deletePage');
+
+               $response = $this->getFrontendResponse(self::VALUE_PageId, 0, 0, 0, FALSE);
+               $this->assertContains('PageNotFoundException', $response->getError());
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyPageRecord.csv
+        */
+       public function copyPage() {
+               $this->markTestSkipped('Skipped due to core bugs...');
+               parent::copyPage();
+               $this->actionService->publishRecord(self::TABLE_Page, $this->recordIds['newPageId']);
+               $this->assertAssertionDataSet('copyPage');
+
+               $responseContent = $this->getFrontendResponse($this->recordIds['newPageId'], 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2', 'Hotel #1'));
+       }
+
+       /**
+        * IRRE Child Records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createParentContentWithHotelAndOfferChildren() {
+               parent::createParentContentWithHotelAndOfferChildren();
+               $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
+               $this->assertAssertionDataSet('createParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+
+               // @todo Shadow fields are not correct on the new placeholder
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', 'Hotel #1'
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndCopyParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createAndCopyParentContentWithHotelAndOfferChildren() {
+               $this->markTestSkipped('Skipped due to core bugs...');
+               parent::createAndCopyParentContentWithHotelAndOfferChildren();
+               // @todo Copying the new child records is broken in the Core
+               $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
+               $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['copiedContentId']);
+               $this->assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1 (copy 1)');
+
+               // @todo Shadow fields are not correct on the new placeholder
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', 'Hotel #1'
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . $this->recordIds['copiedContentId'], self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', 'Hotel #1'
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Hotel . ':' . $this->recordIds['copiedHotelId'], self::FIELD_HotelOffer,
+                               self::TABLE_Offer, 'title', 'Offer #1'
+                       );
+                */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndCopyParentContentRecordWithHotelAndOfferChildRecordsAndDiscardCopiedParentRecord.csv
+        */
+       public function createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent() {
+               parent::createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent();
+               // @todo Copying the new child records is broken in the Core
+               $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
+               // Actually this is not required, since there's nothing to publish... but it's a test case!
+               $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['copiedContentId'], FALSE);
+               $this->assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1 (copy 1)');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createAndLocalizeParentContentWithHotelAndOfferChildren() {
+               $this->markTestSkipped('Skipped due to core bugs...');
+               parent::createAndLocalizeParentContentWithHotelAndOfferChildren();
+               // @todo Localizing the new child records is broken in the Core
+               $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
+               $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['localizedContentId']);
+               $this->assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', '[Translate to Dansk:] Testing #1');
+
+               // @todo Does not work since children don't point to live-default record
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . $this->recordIds['localizedContentId'], self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', '[Translate to Dansk:] Hotel #1'
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Hotel . ':' . $this->recordIds['localizedHotelId'], self::FIELD_HotelOffer,
+                               self::TABLE_Offer, 'title', '[Translate to Dansk:] Offer #1'
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecordsAndDiscardLocalizedParentRecord.csv
+        */
+       public function createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent() {
+               parent::createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent();
+               // @todo Localizing the new child records is broken in the Core
+               $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
+               // Actually this is not required, since there's nothing to publish... but it's a test case!
+               $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['localizedContentId'], FALSE);
+               $this->assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', '[Translate to Dansk:] Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyOnlyHotelChildRecord.csv
+        */
+       public function modifyOnlyHotelChild() {
+               parent::modifyOnlyHotelChild();
+               $this->actionService->publishRecord(self::TABLE_Hotel, 4);
+               $this->assertAssertionDataSet('modifyOnlyHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordAndChangeHotelChildRecordsSorting.csv
+        */
+       public function modifyParentAndChangeHotelChildrenSorting() {
+               parent::modifyParentAndChangeHotelChildrenSorting();
+               $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst);
+               $this->assertAssertionDataSet('modifyParentNChangeHotelChildrenSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #2', 'Hotel #1')
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordWithHotelChildRecord.csv
+        */
+       public function modifyParentWithHotelChild() {
+               parent::modifyParentWithHotelChild();
+               $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst);
+               $this->assertAssertionDataSet('modifyParentNHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordWithHotelChildRecordAndDiscardModifiedParentRecord.csv
+        */
+       public function modifyParentWithHotelChildAndDiscardModifiedParent() {
+               $this->markTestSkipped('Skipped due to core bugs...');
+               parent::modifyParentWithHotelChildAndDiscardModifiedParent();
+               // Actually this is not required, since there's nothing to publish... but it's a test case!
+               $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, FALSE);
+               $this->assertAssertionDataSet('modifyParentNHotelChildNDiscardModifiedParent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #1');
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
+                       // @todo Discarding the parent record should discard the child records as well
+                       // self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+               );
+               /*
+                       $this->assertResponseContentStructureDoesNotHaveRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', 'Testing #1'
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordWithHotelChildRecordAndDiscardAllModifiedRecords.csv
+        */
+       public function modifyParentWithHotelChildAndDiscardAll() {
+               parent::modifyParentWithHotelChildAndDiscardAll();
+               // Actually this is not required, since there's nothing to publish... but it's a test case!
+               $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, FALSE);
+               $this->assertAssertionDataSet('modifyParentNHotelChildNDiscardAll');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #1');
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordAndAddHotelChildRecord.csv
+        */
+       public function modifyParentAndAddHotelChild() {
+               parent::modifyParentAndAddHotelChild();
+               $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
+               $this->assertAssertionDataSet('modifyParentNAddHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+
+               // @todo Child record cannot be selected since they do not point to the live record
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordAndDeleteHotelChildRecord.csv
+        */
+       public function modifyParentAndDeleteHotelChild() {
+               parent::modifyParentAndDeleteHotelChild();
+               $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst);
+               $this->assertAssertionDataSet('modifyParentNDeleteHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #1'
+               );
+               $this->assertResponseContentStructureDoesNotHaveRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', 'Hotel #2'
+               );
+       }
+
+}
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/changeParentContentSorting.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/changeParentContentSorting.csv
new file mode 100644 (file)
index 0000000..58060db
--- /dev/null
@@ -0,0 +1,36 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,768,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,256,0,0,0,0,0,0,297,0,"Regular Element #1","6,7"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,16,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,32,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,256,0,0,0,0,0,0,3,0,"Hotel #1","9,10"
+,7,-1,128,0,0,0,0,0,0,4,0,"Hotel #2",11
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,4,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,8,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,16,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,256,0,0,0,0,0,0,5,0,"Offer #1.1","14,15,16"
+,10,-1,128,0,0,0,0,0,0,6,0,"Offer #1.2","17,18"
+,11,-1,64,0,0,0,0,0,0,7,0,"Offer #2.1",19
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,64,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,256,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,512,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,768,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,1024,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,1280,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,256,0,0,0,0,0,0,7,0,"Price #1.1.1"
+,15,-1,128,0,0,0,0,0,0,8,0,"Price #1.1.2"
+,16,-1,64,0,0,0,0,0,0,9,0,"Price #1.1.3"
+,17,-1,32,0,0,0,0,0,0,10,0,"Price #1.2.1"
+,18,-1,16,0,0,0,0,0,0,11,0,"Price #1.2.2"
+,19,-1,8,0,0,0,0,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/copyPage.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/copyPage.csv
new file mode 100644 (file)
index 0000000..795f2bc
--- /dev/null
@@ -0,0 +1,49 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
+,91,90,256,0,0,0,0,0,0,Relations
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,91,256,0,0,0,1,1,0,0,0,"Regular Element #2",
+,300,-1,256,0,0,0,1,-1,0,299,0,"Regular Element #2",6
+,301,91,128,0,0,0,1,1,0,0,0,"Regular Element #1",
+,302,-1,128,0,0,0,1,-1,0,301,0,"Regular Element #1","7,8"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,91,64,0,0,0,0,0,0,0,0,"Hotel #1",9
+,7,91,256,0,0,0,0,0,0,0,0,"Hotel #1","10,11"
+,8,91,128,0,0,0,0,0,0,0,0,"Hotel #2",12
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,91,32,0,0,0,0,0,0,0,0,"Offer #1.1",14
+,10,91,256,0,0,0,0,0,0,0,0,"Offer #1.1","15,16,17"
+,11,91,128,0,0,0,0,0,0,0,0,"Offer #1.2","18,19"
+,12,91,64,0,0,0,0,0,0,0,0,"Offer #2.1",20
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,91,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,15,91,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,16,91,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,17,91,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,18,91,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,19,91,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,20,91,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/copyParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/copyParentContent.csv
new file mode 100644 (file)
index 0000000..fdf97d5
--- /dev/null
@@ -0,0 +1,28 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,0,0,0,0,0,"Regular Element #2 (copy 1)",
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,64,0,0,0,0,0,0,0,0,"Hotel #1",9
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",14
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createNCopyParentContentNHotelNOfferChildren.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createNCopyParentContentNHotelNOfferChildren.csv
new file mode 100644 (file)
index 0000000..40d6ade
--- /dev/null
@@ -0,0 +1,30 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",
+,301,89,64,0,0,0,0,0,0,0,0,"Testing #1 (copy 1)",
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,0,0,0,0,0,"Hotel #1",
+,8,89,32,0,0,0,1,-1,0,6,0,"Hotel #1",11
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,16,0,0,0,0,0,0,0,0,"Offer #1",
+,11,89,16,0,0,0,1,-1,0,9,0,"Offer #1",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent.csv
new file mode 100644 (file)
index 0000000..31362c4
--- /dev/null
@@ -0,0 +1,33 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",
+,301,89,1000000000,1,0,0,0,1,0,0,0,"Testing #1 (copy 1)",
+,302,-1,1000000000,1,0,0,0,-1,0,301,0,"Testing #1 (copy 1)",8
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,0,0,0,0,0,"Hotel #1",
+,8,89,32,0,0,0,1,-1,0,6,0,"Hotel #1",11
+,9,-1,32,0,0,0,1,2,0,8,0,"Hotel #1",12
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,16,0,0,0,0,0,0,0,0,"Offer #1",
+,11,89,16,0,0,0,1,-1,0,9,0,"Offer #1",
+,12,-1,16,0,0,0,1,2,0,11,0,"Offer #1",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createNLocalizeParentContentNHotelNOfferChildren.csv
new file mode 100644 (file)
index 0000000..8b244f9
--- /dev/null
@@ -0,0 +1,30 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",
+,301,89,192,0,1,299,0,0,0,0,0,"[Translate to Dansk:] Testing #1",
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,0,0,0,0,0,"Hotel #1",
+,8,89,1000000000,1,1,7,0,1,0,0,0,"[Translate to Dansk:] Hotel #1",
+,9,-1,1000000000,1,1,7,0,-1,0,8,0,"[Translate to Dansk:] Hotel #1",
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,16,0,0,0,0,0,0,0,0,"Offer #1",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent.csv
new file mode 100644 (file)
index 0000000..ca275d1
--- /dev/null
@@ -0,0 +1,31 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",
+,301,89,1000000000,1,1,299,0,1,0,0,0,"[Translate to Dansk:] Testing #1",
+,302,-1,1000000000,1,1,299,0,-1,0,301,0,"[Translate to Dansk:] Testing #1",8
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,0,0,0,0,0,"Hotel #1",
+,8,89,1000000000,1,1,7,0,1,0,0,0,"[Translate to Dansk:] Hotel #1",
+,9,-1,1000000000,1,1,7,0,-1,0,8,0,"[Translate to Dansk:] Hotel #1",
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,16,0,0,0,0,0,0,0,0,"Offer #1",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createParentContent.csv
new file mode 100644 (file)
index 0000000..0ff931d
--- /dev/null
@@ -0,0 +1,5 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createParentContentNHotelNOfferChildren.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/createParentContentNHotelNOfferChildren.csv
new file mode 100644 (file)
index 0000000..5982b53
--- /dev/null
@@ -0,0 +1,27 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,128,0,0,0,0,0,0,0,0,"Testing #1",
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,32,0,0,0,0,0,0,0,0,"Hotel #1",
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,89,16,0,0,0,0,0,0,0,0,"Offer #1",
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/deletePage.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/deletePage.csv
new file mode 100644 (file)
index 0000000..7dedf11
--- /dev/null
@@ -0,0 +1,45 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,1000000000,1,0,0,0,0,0,Relations
+,90,88,512,0,0,0,0,0,0,Target
+,91,-1,1000000000,1,0,0,0,89,0,Relations
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,1000000000,1,0,0,1,2,0,3,0,"Hotel #1","9,10"
+,7,-1,1000000000,1,0,0,1,2,0,4,0,"Hotel #2",11
+,8,-1,1000000000,1,0,0,1,2,0,5,0,"Hotel #1",12
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,1000000000,1,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,1000000000,1,0,0,1,2,0,5,0,"Offer #1.1","14,15,16"
+,10,-1,1000000000,1,0,0,1,2,0,6,0,"Offer #1.2","17,18"
+,11,-1,1000000000,1,0,0,1,2,0,7,0,"Offer #2.1",19
+,12,-1,1000000000,1,0,0,1,2,0,8,0,"Offer #1.1",20
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,1000000000,1,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,1000000000,1,0,0,1,2,0,7,0,"Price #1.1.1"
+,15,-1,1000000000,1,0,0,1,2,0,8,0,"Price #1.1.2"
+,16,-1,1000000000,1,0,0,1,2,0,9,0,"Price #1.1.3"
+,17,-1,1000000000,1,0,0,1,2,0,10,0,"Price #1.2.1"
+,18,-1,1000000000,1,0,0,1,2,0,11,0,"Price #1.2.2"
+,19,-1,1000000000,1,0,0,1,2,0,12,0,"Price #2.1.1"
+,20,-1,1000000000,1,0,0,1,2,0,13,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/deleteParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/deleteParentContent.csv
new file mode 100644 (file)
index 0000000..e31ac9f
--- /dev/null
@@ -0,0 +1,28 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,1000000000,1,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,1000000000,1,0,0,0,0,0,298,0,"Regular Element #2",6
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,1000000000,1,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,1000000000,1,0,0,0,0,0,5,0,"Hotel #1",9
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,1000000000,1,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,1000000000,1,0,0,0,0,0,8,0,"Offer #1.1",14
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,1000000000,1,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,1000000000,1,0,0,0,0,0,13,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/deleteParentContentNDiscardDeletedParent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/deleteParentContentNDiscardDeletedParent.csv
new file mode 100644 (file)
index 0000000..65982aa
--- /dev/null
@@ -0,0 +1,24 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/localizeParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/localizeParentContent.csv
new file mode 100644 (file)
index 0000000..8a85134
--- /dev/null
@@ -0,0 +1,27 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,89,768,0,1,298,0,0,0,0,0,"[Translate to Dansk:] Regular Element #2",
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,89,96,0,1,5,1,1,0,0,0,"[Translate to Dansk:] Hotel #1",
+,7,-1,96,0,1,5,1,-1,0,6,0,"[Translate to Dansk:] Hotel #1",
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyOnlyHotelChild.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyOnlyHotelChild.csv
new file mode 100644 (file)
index 0000000..943901e
--- /dev/null
@@ -0,0 +1,27 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Testing #1",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,128,0,0,0,0,0,0,4,0,"Hotel #2",9
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,64,0,0,0,0,0,0,7,0,"Offer #2.1",14
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,8,0,0,0,0,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyPage.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyPage.csv
new file mode 100644 (file)
index 0000000..f7fe7e5
--- /dev/null
@@ -0,0 +1,31 @@
+pages
+,uid,pid,sorting,deleted,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,1,0,256,0,0,0,0,0,0,FunctionalTest
+,88,1,256,0,0,0,0,0,0,DataHandlerTest
+,89,88,256,0,0,0,0,0,0,"Testing #1"
+,90,88,512,0,0,0,0,0,0,Target
+,91,-1,256,0,0,0,0,89,0,Relations
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentContent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentContent.csv
new file mode 100644 (file)
index 0000000..93937e6
--- /dev/null
@@ -0,0 +1,28 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Testing #1",5
+,299,-1,512,0,0,0,0,0,0,298,0,"Regular Element #2",6
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,64,0,0,0,0,0,0,5,0,"Hotel #1",9
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,32,0,0,0,0,0,0,8,0,"Offer #1.1",14
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,4,0,0,0,0,0,0,13,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNAddHotelChild.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNAddHotelChild.csv
new file mode 100644 (file)
index 0000000..53c9e43
--- /dev/null
@@ -0,0 +1,29 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,512,0,0,0,0,0,0,298,0,"Regular Element #2","6,8"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,64,0,0,0,0,0,0,5,0,"Hotel #1",9
+,7,89,32,0,0,0,0,0,0,0,0,"Hotel #2",
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,32,0,0,0,0,0,0,8,0,"Offer #1.1",14
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,4,0,0,0,0,0,0,13,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNChangeHotelChildrenSorting.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNChangeHotelChildrenSorting.csv
new file mode 100644 (file)
index 0000000..f51ce4a
--- /dev/null
@@ -0,0 +1,36 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,256,0,0,0,0,0,0,297,0,"Regular Element #1","7,6"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,256,0,0,0,0,0,0,3,0,"Hotel #1","9,10"
+,7,-1,128,0,0,0,0,0,0,4,0,"Hotel #2",11
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,256,0,0,0,0,0,0,5,0,"Offer #1.1","14,15,16"
+,10,-1,128,0,0,0,0,0,0,6,0,"Offer #1.2","17,18"
+,11,-1,64,0,0,0,0,0,0,7,0,"Offer #2.1",19
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,256,0,0,0,0,0,0,7,0,"Price #1.1.1"
+,15,-1,128,0,0,0,0,0,0,8,0,"Price #1.1.2"
+,16,-1,64,0,0,0,0,0,0,9,0,"Price #1.1.3"
+,17,-1,32,0,0,0,0,0,0,10,0,"Price #1.2.1"
+,18,-1,16,0,0,0,0,0,0,11,0,"Price #1.2.2"
+,19,-1,8,0,0,0,0,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNDeleteHotelChild.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNDeleteHotelChild.csv
new file mode 100644 (file)
index 0000000..b9ed0db
--- /dev/null
@@ -0,0 +1,36 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,256,0,0,0,0,0,0,297,0,"Regular Element #1",6
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,256,0,0,0,0,0,0,3,0,"Hotel #1","9,10"
+,7,-1,128,0,0,0,1,2,0,4,0,"Hotel #2",11
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,256,0,0,0,0,0,0,5,0,"Offer #1.1","14,15,16"
+,10,-1,128,0,0,0,0,0,0,6,0,"Offer #1.2","17,18"
+,11,-1,64,0,0,0,1,2,0,7,0,"Offer #2.1",19
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,256,0,0,0,0,0,0,7,0,"Price #1.1.1"
+,15,-1,128,0,0,0,0,0,0,8,0,"Price #1.1.2"
+,16,-1,64,0,0,0,0,0,0,9,0,"Price #1.1.3"
+,17,-1,32,0,0,0,0,0,0,10,0,"Price #1.2.1"
+,18,-1,16,0,0,0,0,0,0,11,0,"Price #1.2.2"
+,19,-1,8,0,0,0,1,2,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNHotelChild.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNHotelChild.csv
new file mode 100644 (file)
index 0000000..e5fc131
--- /dev/null
@@ -0,0 +1,36 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,256,0,0,0,0,0,0,297,0,"Regular Element #1","6,7"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Testing #1",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,256,0,0,0,0,0,0,3,0,"Hotel #1","9,10"
+,7,-1,128,0,0,0,0,0,0,4,0,"Hotel #2",11
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,256,0,0,0,0,0,0,5,0,"Offer #1.1","14,15,16"
+,10,-1,128,0,0,0,0,0,0,6,0,"Offer #1.2","17,18"
+,11,-1,64,0,0,0,0,0,0,7,0,"Offer #2.1",19
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,256,0,0,0,0,0,0,7,0,"Price #1.1.1"
+,15,-1,128,0,0,0,0,0,0,8,0,"Price #1.1.2"
+,16,-1,64,0,0,0,0,0,0,9,0,"Price #1.1.3"
+,17,-1,32,0,0,0,0,0,0,10,0,"Price #1.2.1"
+,18,-1,16,0,0,0,0,0,0,11,0,"Price #1.2.2"
+,19,-1,8,0,0,0,0,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNHotelChildNDiscardAll.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNHotelChildNDiscardAll.csv
new file mode 100644 (file)
index 0000000..0c80944
--- /dev/null
@@ -0,0 +1,36 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,256,0,0,0,0,0,0,297,0,"Regular Element #1","6,7"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,256,0,0,0,1,0,0,3,0,"Hotel #1","9,10"
+,7,-1,128,0,0,0,0,0,0,4,0,"Testing #1",11
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,256,0,0,0,1,0,0,5,0,"Offer #1.1","14,15,16"
+,10,-1,128,0,0,0,1,0,0,6,0,"Offer #1.2","17,18"
+,11,-1,64,0,0,0,1,0,0,7,0,"Offer #2.1",19
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,256,0,0,0,1,0,0,7,0,"Price #1.1.1"
+,15,-1,128,0,0,0,1,0,0,8,0,"Price #1.1.2"
+,16,-1,64,0,0,0,1,0,0,9,0,"Price #1.1.3"
+,17,-1,32,0,0,0,1,0,0,10,0,"Price #1.2.1"
+,18,-1,16,0,0,0,1,0,0,11,0,"Price #1.2.2"
+,19,-1,8,0,0,0,1,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNHotelChildNDiscardModifiedParent.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/modifyParentNHotelChildNDiscardModifiedParent.csv
new file mode 100644 (file)
index 0000000..e4d41f6
--- /dev/null
@@ -0,0 +1,36 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,89,512,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,256,0,0,0,0,0,0,297,0,"Regular Element #1","6,7"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,89,64,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,256,0,0,0,1,0,0,3,0,"Hotel #1","9,10"
+,7,-1,128,0,0,0,1,0,0,4,0,"Testing #1",11
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,89,32,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,256,0,0,0,1,0,0,5,0,"Offer #1.1","14,15,16"
+,10,-1,128,0,0,0,1,0,0,6,0,"Offer #1.2","17,18"
+,11,-1,64,0,0,0,1,0,0,7,0,"Offer #2.1",19
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,89,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,256,0,0,0,1,0,0,7,0,"Price #1.1.1"
+,15,-1,128,0,0,0,1,0,0,8,0,"Price #1.1.2"
+,16,-1,64,0,0,0,1,0,0,9,0,"Price #1.1.3"
+,17,-1,32,0,0,0,1,0,0,10,0,"Price #1.2.1"
+,18,-1,16,0,0,0,1,0,0,11,0,"Price #1.2.2"
+,19,-1,8,0,0,0,1,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/moveParentContentToDifferentPage.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/moveParentContentToDifferentPage.csv
new file mode 100644 (file)
index 0000000..812ca72
--- /dev/null
@@ -0,0 +1,28 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,89,256,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,512,0,0,0,0,0,0,298,0,"Regular Element #2",6
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,89,256,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,89,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,90,256,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,64,0,0,0,0,0,0,5,0,"Hotel #1",9
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,89,256,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,89,128,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,89,64,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,90,256,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,32,0,0,0,0,0,0,8,0,"Offer #1.1",14
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,89,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,89,128,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,89,64,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,89,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,89,16,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,89,8,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,90,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,4,0,0,0,0,0,0,13,0,"Price #1.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/moveParentContentToDifferentPageNChangeSorting.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/DataSet/moveParentContentToDifferentPageNChangeSorting.csv
new file mode 100644 (file)
index 0000000..00b63e8
--- /dev/null
@@ -0,0 +1,40 @@
+tt_content
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,header,tx_irretutorial_1ncsv_hotels
+,297,90,512,0,0,0,0,0,0,0,0,"Regular Element #1","3,4"
+,298,90,256,0,0,0,0,0,0,0,0,"Regular Element #2",5
+,299,-1,512,0,0,0,0,0,0,298,0,"Regular Element #2",6
+,301,-1,256,0,0,0,0,0,0,297,0,"Regular Element #1","8,9"
+tx_irretutorial_1ncsv_hotel
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,offers
+,3,90,64,0,0,0,0,0,0,0,0,"Hotel #1","5,6"
+,4,90,128,0,0,0,0,0,0,0,0,"Hotel #2",7
+,5,90,256,0,0,0,0,0,0,0,0,"Hotel #1",8
+,6,-1,64,0,0,0,0,0,0,5,0,"Hotel #1",9
+,8,-1,256,0,0,0,0,0,0,3,0,"Hotel #1","11,12"
+,9,-1,128,0,0,0,0,0,0,4,0,"Hotel #2",13
+tx_irretutorial_1ncsv_offer
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title,prices
+,5,90,32,0,0,0,0,0,0,0,0,"Offer #1.1","7,8,9"
+,6,90,64,0,0,0,0,0,0,0,0,"Offer #1.2","10,11"
+,7,90,128,0,0,0,0,0,0,0,0,"Offer #2.1",12
+,8,90,256,0,0,0,0,0,0,0,0,"Offer #1.1",13
+,9,-1,32,0,0,0,0,0,0,8,0,"Offer #1.1",14
+,11,-1,256,0,0,0,0,0,0,5,0,"Offer #1.1","16,17,18"
+,12,-1,128,0,0,0,0,0,0,6,0,"Offer #1.2","19,20"
+,13,-1,64,0,0,0,0,0,0,7,0,"Offer #2.1",21
+tx_irretutorial_1ncsv_price
+,uid,pid,sorting,deleted,sys_language_uid,l18n_parent,t3ver_wsid,t3ver_state,t3ver_stage,t3ver_oid,t3ver_move_id,title
+,7,90,4,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,8,90,8,0,0,0,0,0,0,0,0,"Price #1.1.2"
+,9,90,16,0,0,0,0,0,0,0,0,"Price #1.1.3"
+,10,90,32,0,0,0,0,0,0,0,0,"Price #1.2.1"
+,11,90,64,0,0,0,0,0,0,0,0,"Price #1.2.2"
+,12,90,128,0,0,0,0,0,0,0,0,"Price #2.1.1"
+,13,90,256,0,0,0,0,0,0,0,0,"Price #1.1.1"
+,14,-1,4,0,0,0,0,0,0,13,0,"Price #1.1.1"
+,16,-1,256,0,0,0,0,0,0,7,0,"Price #1.1.1"
+,17,-1,128,0,0,0,0,0,0,8,0,"Price #1.1.2"
+,18,-1,64,0,0,0,0,0,0,9,0,"Price #1.1.3"
+,19,-1,32,0,0,0,0,0,0,10,0,"Price #1.2.1"
+,20,-1,16,0,0,0,0,0,0,11,0,"Price #1.2.2"
+,21,-1,8,0,0,0,0,0,0,12,0,"Price #2.1.1"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/ActionTest.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/ActionTest.php
new file mode 100644 (file)
index 0000000..e0c3968
--- /dev/null
@@ -0,0 +1,529 @@
+<?php
+namespace TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll;
+
+/***************************************************************
+ * Copyright notice
+ *
+ * (c) 2014 Oliver Hader <oliver.hader@typo3.org>
+ * All rights reserved
+ *
+ * This script is part of the TYPO3 project. The TYPO3 project is
+ * free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * The GNU General Public License can be found at
+ * http://www.gnu.org/copyleft/gpl.html.
+ *
+ * This script is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * This copyright notice MUST APPEAR in all copies of the script!
+ ***************************************************************/
+
+require_once dirname(dirname(__FILE__)) . '/AbstractActionTestCase.php';
+
+/**
+ * Functional test for the DataHandler
+ */
+class ActionTest extends \TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase {
+
+       /**
+        * @var string
+        */
+       protected $assertionDataSetDirectory = 'typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/';
+
+       /**
+        * Parent content records
+        */
+
+       public function setUp() {
+               parent::setUp();
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createParentContentRecord.csv
+        */
+       public function createParentContent() {
+               parent::createParentContent();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('createParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentContentRecord.csv
+        */
+       public function modifyParentContent() {
+               parent::modifyParentContent();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('modifyParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1')
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deleteParentContentRecord.csv
+        */
+       public function deleteParentContent() {
+               parent::deleteParentContent();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('deleteParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deleteParentContentRecordAndDiscardDeletedParentRecord.csv
+        */
+       public function deleteParentContentAndDiscardDeletedParent() {
+               parent::deleteParentContentAndDiscardDeletedParent();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('deleteParentContentNDiscardDeletedParent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyParentContentRecord.csv
+        */
+       public function copyParentContent() {
+               $this->markTestSkipped('Skipped due to core bugs...');
+               parent::copyParentContent();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('copyParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/localizeParentContentRecord.csv
+        */
+       public function localizeParentContent() {
+               $this->markTestSkipped('Skipped due to core bugs...');
+               parent::localizeParentContent();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('localizeParentContent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('[Translate to Dansk:] Hotel #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/changeParentContentRecordSorting.csv
+        */
+       public function changeParentContentSorting() {
+               parent::changeParentContentSorting();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('changeParentContentSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1')
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/moveParentContentRecordToDifferentPage.csv
+        */
+       public function moveParentContentToDifferentPage() {
+               parent::moveParentContentToDifferentPage();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('moveParentContentToDifferentPage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Regular Element #2');
+
+               // @todo Workspace child records gets lost due to core bug
+               /*
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1')
+               );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/moveParentContentRecordToDifferentPageAndChangeSorting.csv
+        */
+       public function moveParentContentToDifferentPageAndChangeSorting() {
+               parent::moveParentContentToDifferentPageAndChangeSorting();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('moveParentContentToDifferentPageNChangeSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageIdTarget, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', array('Regular Element #2', 'Regular Element #1'));
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdLast, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1')
+                       );
+               */
+       }
+
+       /**
+        * Page records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyPageRecord.csv
+        */
+       public function modifyPage() {
+               parent::modifyPage();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('modifyPage');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Page, 'title', 'Testing #1');
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/deletePageRecord.csv
+        */
+       public function deletePage() {
+               parent::deletePage();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('deletePage');
+
+               $response = $this->getFrontendResponse(self::VALUE_PageId, 0, 0, 0, FALSE);
+               $this->assertContains('PageNotFoundException', $response->getError());
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/copyPageRecord.csv
+        */
+       public function copyPage() {
+               $this->markTestSkipped('Skipped due to core bugs...');
+               parent::copyPage();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('copyPage');
+
+               $responseContent = $this->getFrontendResponse($this->recordIds['newPageId'], 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Hotel, 'title', array('Hotel #1', 'Hotel #2', 'Hotel #1'));
+       }
+
+       /**
+        * IRRE Child Records
+        */
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createParentContentWithHotelAndOfferChildren() {
+               parent::createParentContentWithHotelAndOfferChildren();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('createParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1');
+
+               // @todo Shadow fields are not correct on the new placeholder
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', 'Hotel #1'
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndCopyParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createAndCopyParentContentWithHotelAndOfferChildren() {
+               $this->markTestSkipped('Skipped due to core bugs...');
+               parent::createAndCopyParentContentWithHotelAndOfferChildren();
+               // @todo Copying the new child records is broken in the Core
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1 (copy 1)');
+
+               // @todo Shadow fields are not correct on the new placeholder
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . $this->recordIds['newContentId'], self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', 'Hotel #1'
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . $this->recordIds['copiedContentId'], self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', 'Hotel #1'
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Hotel . ':' . $this->recordIds['copiedHotelId'], self::FIELD_HotelOffer,
+                               self::TABLE_Offer, 'title', 'Offer #1'
+                       );
+                */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndCopyParentContentRecordWithHotelAndOfferChildRecordsAndDiscardCopiedParentRecord.csv
+        */
+       public function createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent() {
+               parent::createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent();
+               // @todo Copying the new child records is broken in the Core
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildrenNDiscardCopiedParent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', 'Testing #1 (copy 1)');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecords.csv
+        */
+       public function createAndLocalizeParentContentWithHotelAndOfferChildren() {
+               $this->markTestSkipped('Skipped due to core bugs...');
+               parent::createAndLocalizeParentContentWithHotelAndOfferChildren();
+               // @todo Localizing the new child records is broken in the Core
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildren');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               $this->assertResponseContentHasRecords($responseContent, self::TABLE_Content, 'header', '[Translate to Dansk:] Testing #1');
+
+               // @todo Does not work since children don't point to live-default record
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . $this->recordIds['localizedContentId'], self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', '[Translate to Dansk:] Hotel #1'
+                       );
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Hotel . ':' . $this->recordIds['localizedHotelId'], self::FIELD_HotelOffer,
+                               self::TABLE_Offer, 'title', '[Translate to Dansk:] Offer #1'
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/createAndLocalizeParentContentRecordWithHotelAndOfferChildRecordsAndDiscardLocalizedParentRecord.csv
+        */
+       public function createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent() {
+               parent::createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent();
+               // @todo Localizing the new child records is broken in the Core
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildrenNDiscardLocalizedParent');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseContent();
+               $this->assertResponseContentDoesNotHaveRecords($responseContent, self::TABLE_Content, 'header', '[Translate to Dansk:] Testing #1');
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyOnlyHotelChildRecord.csv
+        */
+       public function modifyOnlyHotelChild() {
+               parent::modifyOnlyHotelChild();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('modifyOnlyHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+               $this->assertResponseContentStructureHasRecords(
+                       $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                       self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
+               );
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordAndChangeHotelChildRecordsSorting.csv
+        */
+       public function modifyParentAndChangeHotelChildrenSorting() {
+               parent::modifyParentAndChangeHotelChildrenSorting();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('modifyParentNChangeHotelChildrenSorting');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #2', 'Hotel #1')
+                       );
+               */
+       }
+
+       /**
+        * @test
+        * @see DataSet/Assertion/modifyParentRecordWithHotelChildRecord.csv
+        */
+       public function modifyParentWithHotelChild() {
+               parent::modifyParentWithHotelChild();
+               $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+               $this->assertAssertionDataSet('modifyParentNHotelChild');
+
+               $responseContent = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseContent();
+
+               // @todo Cannot direct select workspace version due to frontend SQL query
+               // SELECT * FROM tx_irretutorial_1ncsv_hotel
+               // WHERE tx_irretutorial_1ncsv_hotel.uid=6 AND tx_irretutorial_1ncsv_hotel.pid IN (89)
+               // AND tx_irretutorial_1ncsv_hotel.deleted=0 AND (tx_irretutorial_1ncsv_hotel.t3ver_wsid=0 OR tx_irretutorial_1ncsv_hotel.t3ver_wsid=1)
+               // AND tx_irretutorial_1ncsv_hotel.pid<>-1 ORDER BY sorting
+               /*
+                       $this->assertResponseContentStructureHasRecords(
+                               $responseContent, self::TABLE_Content . ':' . self::VALUE_ContentIdFirst, self::FIELD_ContentHotel,
+                               self::TABLE_Hotel, 'title', array('Hotel #1', 'Testing #1')
+                       );
+               */
+       }
+
+