There was an error fetching the commit references. Please try again later.
[BUGFIX] moveContentRecordToDifferentPageAndChangeSorting fails
In a workspace, an existing content record is moved to an existing page. Another existing record is moved after the previously moved record on the target page. The Functional Tests show, that the content records are faulty after the processing and the first content record disappeared. A similar behaviour has been discovered for pages which finally lead to the regression causing this bug in issue #33104. Back then a hook has been introduced for moving page records and post-processing the database values. However, this hook has been called for all move operations for any table and was wrong in terms of the expected specific problem to be solved. The hook gets reverted, since it's sufficient to resolve move placeholders if a record shall be created after an existing one. Resolves: #55573 Releases: 6.2 Change-Id: Ie5cbc95daf4d46f4204cf18e80e17ff4fa37f496 Reviewed-on: https://review.typo3.org/27733 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Oliver Hader Tested-by: Oliver Hader
Showing
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 4 additions, 0 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts 10 additions, 1 deletion...t/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts
- typo3/sysext/version/Classes/Hook/DataHandlerHook.php 0 additions, 26 deletionstypo3/sysext/version/Classes/Hook/DataHandlerHook.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php 26 additions, 5 deletions...unctional/DataHandling/Regular/AbstractActionTestCase.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/movePageRecordToDifferentPageAndChangeSorting.csv 1 addition, 1 deletion...sertion/movePageRecordToDifferentPageAndChangeSorting.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/DataSet/Assertion/movePageRecordToDifferentPageAndCreatePageRecordAfterMovedPageRecord.csv 10 additions, 0 deletions...oDifferentPageAndCreatePageRecordAfterMovedPageRecord.csv
Please register or sign in to comment