88841[TASK] Deprecate methods in BackendUtility
Commit message
Review
-
Code review CR +2 Done
- Georg Ringer +2
- Christian Kuhn +1
-
Verified V +2 Done
- Georg Ringer +2
- Christian Kuhn +1
- core-ci +1 CI
Issues 2
Files 41
- typo3/sysext/backend/Classes/Controller/ContentElement/ElementHistoryController.php+10 −2
- typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php+2 −2
- typo3/sysext/backend/Classes/Controller/ColumnSelectorController.php+1 −1
- typo3/sysext/backend/Classes/Controller/RecordListDownloadController.php2+5 −2
- typo3/sysext/backend/Classes/Form/Container/FilesControlContainer.php+5 −3
- typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php+5 −3
- typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php2+57 −16
- typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseEditRow.php2+8 −2
- typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseUserPermissionCheck.php+7 −3
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaFiles.php+4 −1
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInline.php+4 −1
- typo3/sysext/backend/Classes/Form/Wizard/SuggestWizardDefaultReceiver.php+1 −1
- typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php+1 −1
- typo3/sysext/backend/Classes/Utility/BackendUtility.php2+114 −63
- typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaCategoryTest.php+4 −0
- typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php+64 −0
- typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaSelectItemsTest.php+36 −0
- typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaSelectTreeItemsTest.php+4 −0
- typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php+182 −0
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseEditRowTest.php+14 −13
Show 21 more files
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUserPermissionCheckTest.php+109 −18
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaGroupTest.phpdeleted+0 −130
- typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineTest.php+4 −3
- typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php+39 −275
- typo3/sysext/core/Classes/Database/RelationHandler.php2+7 −3
- typo3/sysext/core/Classes/DataHandling/DataHandler.php+19 −9
- typo3/sysext/core/Classes/DataHandling/PlainDataResolver.php+4 −2
- typo3/sysext/core/Classes/DataHandling/SlugHelper.php+2 −2
- typo3/sysext/core/Classes/Schema/TcaSchema.php+1 −1
- typo3/sysext/core/Documentation/Changelog/14.0/Deprecation-106393-VariousMethodsInBackendUtility.rst5+69 −10
- typo3/sysext/core/Tests/Functional/Database/Fixtures/RelationHandler/readMmSysCategoryRelationsImport.csv+1 −0
- typo3/sysext/core/Tests/Functional/Database/RelationHandlerTest.php+33 −0
- typo3/sysext/core/Tests/Unit/Database/RelationHandlerTest.phpdeleted+0 −66
- typo3/sysext/core/Tests/Unit/DataHandling/SlugHelperTest.php+9 −0
- typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php+1 −2
- typo3/sysext/filelist/Classes/FileList.php+2 −1
- typo3/sysext/info/Classes/Controller/PageInformationController.php+1 −1
- typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallStaticMatcher.php+35 −0
- typo3/sysext/styleguide/Classes/TcaDataGenerator/TableHandler/AbstractTableHandler.php+9 −2
- typo3/sysext/workspaces/Classes/Service/GridDataService.php+2 −2
- typo3/sysext/workspaces/Classes/Service/HistoryService.php+1 −1
Review log 3042
Show 1117 earlier messages
-
Georg Ringer uploaded patch set 1 03/30/25, 19:09
-
core-ci voted on patch set 1 V -1 03/30/25, 19:19 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/76680
-
Georg Ringer uploaded patch set 2
V -103/30/25, 19:22 -
core-ci voted on patch set 2 V -1 03/30/25, 19:31 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/76681
-
Georg Ringer uploaded patch set 3
V -103/30/25, 19:33 -
core-ci voted on patch set 3 V -1 03/30/25, 19:48 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/76682
-
Benni Mack uploaded patch set 4
V -104/01/25, 11:38 -
core-ci voted on patch set 4 V -1 04/01/25, 11:47 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/76776
-
Georg Ringer uploaded patch set 5
V -104/01/25, 16:01 -
core-ci voted on patch set 5 V -1 04/01/25, 16:07 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/76800
-
Georg Ringer commented on patch set 6
V -104/01/25, 16:12Published edit on patch set 5. -
Georg Ringer commented on patch set 6 04/01/25, 16:12
This change is ready for review. -
core-ci voted on patch set 6 V +1 04/01/25, 16:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/76802
-
Benni Mack commented on patch set 6 04/01/25, 18:41
BackendUtility.php:1860I mean, usually you could remove this method directly - it is internal! but since you've put in the efforts, and it is not blocking anything with new APIs, let's move forward as is. -
Benni Mack voted on patch set 6 CR +1 V +1 04/01/25, 19:27
-
Andreas Kienast commented on patch set 6 CR -1 04/02/25, 14:11
AbstractItemProvider.php:1202```suggestion return array_map(static fn(string $value): string => $table . '.' . $value, $fields); ```Deprecation-106393-VariousMethodsInBackendUtility.rst:50Why should I copy anything? Can't we simply provide an example how to do this with the Schema API? -
Benni Mack commented on patch set 6 04/02/25, 14:21
Deprecation-106393-VariousMethodsInBackendUtility.rst:50ReplySchema API isn't public API (yet)
-
Benjamin Franzke commented on patch set 6 04/04/25, 04:38
Deprecation-106393-VariousMethodsInBackendUtility.rst:50Reply@benni@typo3.org that means we should not deprecate anything (yet), right? -
Benni Mack commented on patch set 6 04/04/25, 06:54
Deprecation-106393-VariousMethodsInBackendUtility.rst:50Replywell, you might have seen in the past months - I'm trying to migrate to Schema API everywhere to fully understand what we need to adapt, then adapt everything in Schema API and then make it "not internal" anymore. When somebody wants to deprecate something, we need to tell them the current non-internal way (= either copy+paste or use TCA directly) and then update the RST once Schema API is ripe. -
Georg Ringer rebased onto patch set 7
CR +1V +104/09/25, 21:11 -
core-ci voted on patch set 7 V +1 04/09/25, 21:18 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/77323
-
Simon Schaufelberger commented on patch set 7 05/13/25, 22:36
@georg.ringer@gmail.com can you please rebase this one? I've tried it myself but now there is a new call to BackendUtility::getCommonSelectFields in AbstractItemProvider -
Benni Mack uploaded patch set 8
V +107/24/25, 09:22 -
Benni Mack commented on patch set 8 07/24/25, 09:32
We could also deprecate getItemLabel() - see https://review.typo3.org/c/Packages/TYPO3.CMS/+/89822 in the same change -
core-ci voted on patch set 8 V -1 07/24/25, 09:33 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/82227
-
Oli Bartsch uploaded patch set 9
V -107/25/25, 16:13 -
core-ci voted on patch set 9 V -1 07/25/25, 16:22 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/82329
-
Benni Mack commented on patch set 9 07/25/25, 17:37
RecordListDownloadController.php:159can use $this->tcaSchemaFactory nowRelationHandler.php:212isn't this the opposite? -
Oli Bartsch uploaded patch set 10
V -107/25/25, 19:55 -
core-ci voted on patch set 10 V -1 07/25/25, 20:04 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/82334
-
Oli Bartsch uploaded patch set 11
V -107/25/25, 20:49 -
Oli Bartsch commented on patch set 11 07/25/25, 20:49
Reply
DoneRecordListDownloadController.php:159ReplyDoneAbstractItemProvider.php:1202ReplyDoneBackendUtility.php:1860ReplyDoneRelationHandler.php:212ReplyDoneDeprecation-106393-VariousMethodsInBackendUtility.rst:50ReplyDone -
core-ci voted on patch set 11 V +1 07/25/25, 20:56 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/82339
-
Benni Mack voted on patch set 11 CR +1 V +1 07/25/25, 22:53
-
Christian Kuhn commented on patch set 11 07/28/25, 15:56
DatabaseEditRow.php:35as a leaf class, this should be injected using __construct(). -
Oli Bartsch uploaded patch set 12
CR +1V +107/28/25, 17:17 -
Oli Bartsch commented on patch set 12 07/28/25, 17:17
DatabaseEditRow.php:35ReplyThx! Done. -
core-ci voted on patch set 12 V +1 07/28/25, 17:24 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/82442
-
Christian Kuhn voted on patch set 12 CR +1 V +1 07/28/25, 17:53
-
Georg Ringer voted on patch set 12 CR +1 V +1 07/28/25, 20:38
-
Georg Ringer voted on patch set 12 CR +2 V +2 07/29/25, 05:34
-
Georg Ringer merged patch set 13 07/29/25, 05:34