[!!!][TASK] Remove t3ver_count and t3ver_tstamp db fields
The patch drops handling and existence of two further workspaces related db fields: * t3ver_tstamp has been occassionally set to 'now' when records in a workspaces were edited. However, the field was never displayed in the backend and is of little use since it only holds only a 'last' value. A change history on workspace records is available through the 'info' button in the workspace module. This is powered by sys_history and shows modifications with date/time. * t3ver_count is also never rendered in the backend. It has been used in the (non-default) 'swap' workspace actions where live records become the new workspace records. The field was then incremented by one. The loose wording around that is, it's an 'archived' record. However, if swapping a second time, the workspace record does not count two as one would expect, but still one. Only after another swap, the workspace record would have the value two in this field. Together with the fact this field has never been shown/used, the weird behavior, and that swapping is an uncommon case that needs to be explicitely enabled and used, the field is dropped now. Resolves: #89137 Releases: master Change-Id: I7cdfe6e867c14462395d7398123b14464835c1bf Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65145 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/backend/Classes/Form/FormDataProvider/InlineOverrideChildTca.php 0 additions, 2 deletions.../Classes/Form/FormDataProvider/InlineOverrideChildTca.php
- typo3/sysext/backend/Classes/Tree/Repository/PageTreeRepository.php 0 additions, 1 deletion...xt/backend/Classes/Tree/Repository/PageTreeRepository.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 0 additions, 1 deletiontypo3/sysext/backend/Classes/Utility/BackendUtility.php
- typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php 1 addition, 1 deletion.../sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 2 additions, 6 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/Database/Schema/DefaultTcaSchema.php 0 additions, 34 deletions.../sysext/core/Classes/Database/Schema/DefaultTcaSchema.php
- typo3/sysext/core/Documentation/Changelog/master/Breaking-89137-DatabaseFieldsT3verTstampAndT3verCountDropped.rst 35 additions, 0 deletions...g-89137-DatabaseFieldsT3verTstampAndT3verCountDropped.rst
- typo3/sysext/core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php 0 additions, 42 deletions.../core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php
- typo3/sysext/lowlevel/Classes/Command/CleanFlexFormsCommand.php 2 additions, 2 deletions...sysext/lowlevel/Classes/Command/CleanFlexFormsCommand.php
- typo3/sysext/lowlevel/Classes/Command/DeletedRecordsCommand.php 2 additions, 2 deletions...sysext/lowlevel/Classes/Command/DeletedRecordsCommand.php
- typo3/sysext/lowlevel/Classes/Command/OrphanRecordsCommand.php 2 additions, 2 deletions.../sysext/lowlevel/Classes/Command/OrphanRecordsCommand.php
- typo3/sysext/lowlevel/Classes/Integrity/DatabaseIntegrityCheck.php 1 addition, 7 deletions...ext/lowlevel/Classes/Integrity/DatabaseIntegrityCheck.php
- typo3/sysext/workspaces/Classes/Command/WorkspaceVersionRecordsCommand.php 2 additions, 12 deletions...spaces/Classes/Command/WorkspaceVersionRecordsCommand.php
- typo3/sysext/workspaces/Classes/Controller/PreviewController.php 3 additions, 4 deletions...ysext/workspaces/Classes/Controller/PreviewController.php
- typo3/sysext/workspaces/Classes/Controller/Remote/ActionHandler.php 16 additions, 22 deletions...xt/workspaces/Classes/Controller/Remote/ActionHandler.php
- typo3/sysext/workspaces/Classes/Controller/Remote/RemoteServer.php 16 additions, 2 deletions...ext/workspaces/Classes/Controller/Remote/RemoteServer.php
- typo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php 1 addition, 9 deletionstypo3/sysext/workspaces/Classes/Hook/DataHandlerHook.php
- typo3/sysext/workspaces/Classes/Service/WorkspaceService.php 24 additions, 46 deletionstypo3/sysext/workspaces/Classes/Service/WorkspaceService.php
- typo3/sysext/workspaces/Tests/Functional/Fixtures/pages.xml 1 addition, 6 deletionstypo3/sysext/workspaces/Tests/Functional/Fixtures/pages.xml
- typo3/sysext/workspaces/Tests/Functional/Service/WorkspaceServiceTest.php 8 additions, 41 deletions...kspaces/Tests/Functional/Service/WorkspaceServiceTest.php
Please register or sign in to comment