[TASK] Deprecate BackendUtility::getRecordsByField
Deprecate BackendUtility::getRecordsByField() as it has a flawed design due to passing SQL fragments. This contradicts the goal of using named parameters for all queries in the core and requires passing the original QueryBuilder object in addition to the stringified constraint. Replace all calls to the method with direct usage of the QueryBuilder and deprecate the method. Resolves: #79122 Releases: master Change-Id: I8b040b98e20271aff84ef16fb89b59a406d54003 Reviewed-on: https://review.typo3.org/51078 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Mona Muzaffar <mona.muzaffar@gmx.de> Tested-by:
Mona Muzaffar <mona.muzaffar@gmx.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/backend/Classes/Controller/BackendController.php 27 additions, 4 deletions...3/sysext/backend/Classes/Controller/BackendController.php
- typo3/sysext/backend/Classes/Domain/Repository/Localization/LocalizationRepository.php 27 additions, 9 deletions...Domain/Repository/Localization/LocalizationRepository.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 54 additions, 41 deletionstypo3/sysext/backend/Classes/Utility/BackendUtility.php
- typo3/sysext/backend/Classes/View/PageLayoutView.php 48 additions, 22 deletionstypo3/sysext/backend/Classes/View/PageLayoutView.php
- typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php 48 additions, 0 deletions...t/backend/Tests/Functional/Utility/BackendUtilityTest.php
- typo3/sysext/backend/Tests/Functional/Utility/Fixtures/sys_domain.xml 21 additions, 0 deletions.../backend/Tests/Functional/Utility/Fixtures/sys_domain.xml
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 25 additions, 9 deletions...core/Classes/Authentication/BackendUserAuthentication.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 136 additions, 28 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/Database/Query/QueryBuilder.php 2 additions, 2 deletionstypo3/sysext/core/Classes/Database/Query/QueryBuilder.php
- typo3/sysext/core/Classes/Database/SoftReferenceIndex.php 19 additions, 3 deletionstypo3/sysext/core/Classes/Database/SoftReferenceIndex.php
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-79122-DeprecateBackendUtilitygetRecordsByField.rst 32 additions, 0 deletions...cation-79122-DeprecateBackendUtilitygetRecordsByField.rst
- typo3/sysext/recordlist/Classes/LinkHandler/PageLinkHandler.php 21 additions, 3 deletions...sysext/recordlist/Classes/LinkHandler/PageLinkHandler.php
- typo3/sysext/recycler/Classes/Domain/Model/DeletedRecords.php 106 additions, 77 deletions...3/sysext/recycler/Classes/Domain/Model/DeletedRecords.php
- typo3/sysext/workspaces/Classes/Service/WorkspaceService.php 24 additions, 10 deletionstypo3/sysext/workspaces/Classes/Service/WorkspaceService.php
Please register or sign in to comment