[!!!][BUGFIX] Check for existing index column in exec_SELECTgetRows() 07/39807/7
authorMarkus Klein <markus.klein@typo3.org>
Fri, 29 May 2015 21:18:40 +0000 (23:18 +0200)
committerFrank Nägler <typo3@naegler.net>
Fri, 5 Jun 2015 08:44:14 +0000 (10:44 +0200)
commit7b0cd3533497c203fce88943852b34b6190cb43c
tree7c3a89529303ac44002f8ec82a80d19cc6da3ed6
parentd91aac73188803e94e9bed246373caa9494565b4
[!!!][BUGFIX] Check for existing index column in exec_SELECTgetRows()

In case the specified $uidIndexField does not exist in the result,
throw an exception.

Do not call debug() again since it has already been called in
exec_SELECTquery().

Resolves: #67204
Releases: master
Change-Id: I3b0a49a24da50b8ee5390f0619bf78e2e3fe772d
Reviewed-on: http://review.typo3.org/39807
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
typo3/sysext/core/Classes/Database/DatabaseConnection.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-67204-DatabaseConnectionexec_SELECTgetRowsMayThrowException.rst [new file with mode: 0644]