[BUGFIX] Ensure workspace's new placeholder keeps sorting+pid on moving
When a newly created record in a workspace is added, two records are created: * t3ver_state=-1 (the versioned record NEW_PLACEHOLDER_VERSION which contains the data) * t3ver_state=1 (the placeholder NEW_PLACEHOLDER) When the record is now moved (= sorting or pid is changed) then the versioned record was previously not updated sorting or pid values. This change keeps both records in sync making it easier to have a consistent setup. This is helpful when working on versioned records (and not on the pairs = overlays) directly. Resolves: #92182 Releases: master, 10.4 Change-Id: Idc7632b12cc03a04eac1430f84cf67bf1ec24e73 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65535 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php 23 additions, 0 deletions...unctional/DataHandling/Regular/AbstractActionTestCase.php
- typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php 14 additions, 6 deletionstypo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php 20 additions, 0 deletions...sts/Functional/DataHandling/Regular/Modify/ActionTest.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/createPageAndChangePageSorting.csv 8 additions, 0 deletions...Regular/Modify/DataSet/createPageAndChangePageSorting.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/createPageAndMoveCreatedPage.csv 8 additions, 0 deletions...g/Regular/Modify/DataSet/createPageAndMoveCreatedPage.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/ActionTest.php 22 additions, 0 deletions...ts/Functional/DataHandling/Regular/Publish/ActionTest.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/createPageAndChangePageSorting.csv 7 additions, 0 deletions...egular/Publish/DataSet/createPageAndChangePageSorting.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/createPageAndMoveCreatedPage.csv 7 additions, 0 deletions.../Regular/Publish/DataSet/createPageAndMoveCreatedPage.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/ActionTest.php 25 additions, 0 deletions...Functional/DataHandling/Regular/PublishAll/ActionTest.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/createPageAndChangePageSorting.csv 7 additions, 0 deletions...lar/PublishAll/DataSet/createPageAndChangePageSorting.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/createPageAndMoveCreatedPage.csv 7 additions, 0 deletions...gular/PublishAll/DataSet/createPageAndMoveCreatedPage.csv
Please register or sign in to comment