[!!!][TASK] Remove TCA option "cruser_id"
TYPO3's TCA definition has a setting called `cruser_id` which automatically is filled with the current TYPO3's Backend User ID, if created via DataHandler. However, this information is also available in the RecordHistory (since its extraction from sys_log in v9) and can be queried, when needed, directly from there. This way, all TCA-based tables, having the setting "cruser_id" do not need to carry this value anymore, as it is duplicated in TYPO3's data model. This change removes the evaluation of "cruser_id", and removes the filling of this property via DataHandler. The DB field is also not set anymore automatically. The Info popup (ElementInformationController) now shows the information from the RecordHistory information. Resolves: #98024 Releases: main Change-Id: I1fe54b0ecfc0ee9b2d1867011dd960e1906fd2d4 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75123 Tested-by:core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- composer.lock 4 additions, 4 deletionscomposer.lock
- typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php 23 additions, 23 deletions...ontroller/ContentElement/ElementInformationController.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/InlineOverrideChildTca.php 0 additions, 1 deletion.../Classes/Form/FormDataProvider/InlineOverrideChildTca.php
- typo3/sysext/backend/Classes/History/RecordHistory.php 40 additions, 0 deletionstypo3/sysext/backend/Classes/History/RecordHistory.php
- typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 0 additions, 3 deletionstypo3/sysext/backend/Classes/Utility/BackendUtility.php
- typo3/sysext/backend/Tests/Functional/Fixtures/be_users.csv 2 additions, 2 deletionstypo3/sysext/backend/Tests/Functional/Fixtures/be_users.csv
- typo3/sysext/backend/Tests/Functional/Fixtures/be_users_mfa.csv 6 additions, 6 deletions...sysext/backend/Tests/Functional/Fixtures/be_users_mfa.csv
- typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php 1 addition, 2 deletions.../sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php
- typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php 1 addition, 1 deletion...ore/Classes/Authentication/AbstractUserAuthentication.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 0 additions, 6 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/Database/Schema/DefaultTcaSchema.php 0 additions, 18 deletions.../sysext/core/Classes/Database/Schema/DefaultTcaSchema.php
- typo3/sysext/core/Classes/Migrations/TcaMigration.php 17 additions, 0 deletionstypo3/sysext/core/Classes/Migrations/TcaMigration.php
- typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php 0 additions, 1 deletion...sysext/core/Classes/Resource/Index/MetaDataRepository.php
- typo3/sysext/core/Configuration/TCA/be_groups.php 0 additions, 1 deletiontypo3/sysext/core/Configuration/TCA/be_groups.php
- typo3/sysext/core/Configuration/TCA/be_users.php 0 additions, 1 deletiontypo3/sysext/core/Configuration/TCA/be_users.php
- typo3/sysext/core/Configuration/TCA/pages.php 0 additions, 1 deletiontypo3/sysext/core/Configuration/TCA/pages.php
- typo3/sysext/core/Configuration/TCA/sys_category.php 0 additions, 1 deletiontypo3/sysext/core/Configuration/TCA/sys_category.php
- typo3/sysext/core/Configuration/TCA/sys_file_collection.php 0 additions, 1 deletiontypo3/sysext/core/Configuration/TCA/sys_file_collection.php
- typo3/sysext/core/Configuration/TCA/sys_file_metadata.php 0 additions, 1 deletiontypo3/sysext/core/Configuration/TCA/sys_file_metadata.php
Please register or sign in to comment