[TASK] Deprecate BackendUtility::getRecordRaw 75/52075/9
authorManuel Selbach <manuel_selbach@yahoo.de>
Fri, 17 Mar 2017 10:34:06 +0000 (11:34 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 22 Mar 2017 15:38:26 +0000 (16:38 +0100)
commit5462fdfbd5c7fc3418ee93b8106a086b3fd3fa34
tree531abcc25c4c1a6180157b541201d3456c13e8e8
parentdc3416b24f0dac925b011fb0b7dcb8e83d4d81b2
[TASK] Deprecate BackendUtility::getRecordRaw

Since we follow the principle of "prepared statement", the method
getRecordRaw will break this behaviour. Within the "where" parameter
of the function it is possible to pass a malformed query part.

Thus we should remove it, as the queryBuilder should be used everywhere
in the future to increase visiblity of which query will be processed at
a concrete point of code and to force the concept of prepared statements.

Resolves: #80317
Releases: master
Change-Id: If0028bf897ddee4517228a9e399390fe7266215e
Reviewed-on: https://review.typo3.org/52075
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Classes/Database/ReferenceIndex.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-80317-DeprecateBackendUtility::getRecordRaw.rst [new file with mode: 0644]
typo3/sysext/lowlevel/Classes/CleanerCommand.php
typo3/sysext/lowlevel/Classes/Command/CleanFlexFormsCommand.php
typo3/sysext/lowlevel/Classes/Command/MissingRelationsCommand.php
typo3/sysext/lowlevel/Classes/Command/WorkspaceVersionRecordsCommand.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php