[!!!][TASK] Remove support for swapping instead of publishing workspace records
The functionality of "exchanging" a versioned record in a workspace with a live version, is not used, and has certain downsides (e.g. it is not clear what exchange happened, not event stream to understand when was what changed, and especially when swapping single/selected items multiple times it gets really messy). Also, swapping is conceptually not working (when activated) for newly created records and leaves an inconsistent state. For these reasons, the feature is dropped. What was removed: * The option sys_workspace.swap_modes * The option to only swap on auto-publish * The option to swap in workspace module In the future it would be really beneficial to rename internal "swap" variables to "publish" to streamline this logic. Resolves: #92206 Releases: master Change-Id: Ie153a890e5d0dc6ac0b8707a2739c89922e017d7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65318 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Sources/TypeScript/workspaces/Resources/Public/TypeScript/Backend.ts 10 additions, 16 deletions...eScript/workspaces/Resources/Public/TypeScript/Backend.ts
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 0 additions, 19 deletions...core/Classes/Authentication/BackendUserAuthentication.php
- typo3/sysext/core/Classes/Versioning/VersionState.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Versioning/VersionState.php
- typo3/sysext/core/Documentation/Changelog/master/Breaking-92206-RemoveWorkspaceSwappingOfElements.rst 53 additions, 0 deletions...ster/Breaking-92206-RemoveWorkspaceSwappingOfElements.rst
- typo3/sysext/core/Resources/Private/Language/locallang_tca.xlf 0 additions, 3 deletions.../sysext/core/Resources/Private/Language/locallang_tca.xlf
- typo3/sysext/frontend/Classes/Hooks/TreelistCacheUpdateHooks.php 3 additions, 3 deletions...ysext/frontend/Classes/Hooks/TreelistCacheUpdateHooks.php
- typo3/sysext/workspaces/Classes/Command/AutoPublishCommand.php 2 additions, 7 deletions.../sysext/workspaces/Classes/Command/AutoPublishCommand.php
- typo3/sysext/workspaces/Classes/Controller/Remote/ActionHandler.php 13 additions, 17 deletions...xt/workspaces/Classes/Controller/Remote/ActionHandler.php
- typo3/sysext/workspaces/Classes/Controller/Remote/MassActionHandler.php 3 additions, 7 deletions...orkspaces/Classes/Controller/Remote/MassActionHandler.php
- typo3/sysext/workspaces/Classes/DataHandler/CommandMap.php 1 addition, 4 deletionstypo3/sysext/workspaces/Classes/DataHandler/CommandMap.php
- typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php 26 additions, 58 deletionstypo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php
- typo3/sysext/workspaces/Classes/Service/GridDataService.php 4 additions, 4 deletionstypo3/sysext/workspaces/Classes/Service/GridDataService.php
- typo3/sysext/workspaces/Classes/Service/WorkspaceService.php 8 additions, 8 deletionstypo3/sysext/workspaces/Classes/Service/WorkspaceService.php
- typo3/sysext/workspaces/Configuration/TCA/sys_workspace.php 1 addition, 14 deletionstypo3/sysext/workspaces/Configuration/TCA/sys_workspace.php
- typo3/sysext/workspaces/Resources/Private/Language/locallang.xlf 6 additions, 21 deletions...ysext/workspaces/Resources/Private/Language/locallang.xlf
- typo3/sysext/workspaces/Resources/Private/Language/locallang_db.xlf 0 additions, 12 deletions...xt/workspaces/Resources/Private/Language/locallang_db.xlf
- typo3/sysext/workspaces/Resources/Private/Language/locallang_mod_user_ws.xlf 0 additions, 3 deletions...aces/Resources/Private/Language/locallang_mod_user_ws.xlf
- typo3/sysext/workspaces/Resources/Public/JavaScript/Backend.js 1 addition, 1 deletion.../sysext/workspaces/Resources/Public/JavaScript/Backend.js
- typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/DataSet/LiveDefaultElements.csv 35 additions, 35 deletions...nctional/DataHandling/FAL/DataSet/LiveDefaultElements.csv
- typo3/sysext/workspaces/Tests/Functional/DataHandling/Group/DataSet/LiveDefaultElements.csv 1 addition, 1 deletion...tional/DataHandling/Group/DataSet/LiveDefaultElements.csv
Please register or sign in to comment