[BUGFIX] Synchronize TCA enable columns from workspace version
In case workspace placeholders (new or move) are involved corresponding explicit TCA control settings in either shadowColumnsForMovePlaceholders or shadowColumnsForNewPlaceholders are used to update those field values and synchronize workspace versions with their placeholder records. Since the data-retrieval process first queries live version pendants and then tries to overlay those records with version information, values for enable columns shall be synchronized automatically - otherwise possible HiddenRestriction or StartTimeRestriction would deny selecting live versions already in the first place. Resolves: #89455 Releases: master, 9.5 Change-Id: Ic5763866d5adf4dcb30db3f553edf19eb0c76239 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62020 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Achim Fritz <af@achimfritz.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Achim Fritz <af@achimfritz.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Scripts/checkIntegrityCsvFixtures.php 4 additions, 0 deletionsBuild/Scripts/checkIntegrityCsvFixtures.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 44 additions, 26 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/DataHandling/PlaceholderShadowColumnsResolver.php 132 additions, 0 deletions...Classes/DataHandling/PlaceholderShadowColumnsResolver.php
- typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php 16 additions, 0 deletions...unctional/DataHandling/Regular/AbstractActionTestCase.php
- typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php 8 additions, 10 deletionstypo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php 49 additions, 2 deletions...sts/Functional/DataHandling/Regular/Modify/ActionTest.php
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/hideContent.csv 14 additions, 0 deletions...ional/DataHandling/Regular/Modify/DataSet/hideContent.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/hideContentAndMoveToDifferentPage.csv 15 additions, 0 deletions...ular/Modify/DataSet/hideContentAndMoveToDifferentPage.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizeContentWHideAtCopy.csv 1 addition, 1 deletion...ing/Regular/Modify/DataSet/localizeContentWHideAtCopy.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/moveContentToDifferentPageAndHide.csv 15 additions, 0 deletions...ular/Modify/DataSet/moveContentToDifferentPageAndHide.csv
Please register or sign in to comment