[BUGFIX] Prevent building empty IN () query by throwing exception
authorBenjamin Bretz <pleaserebootuniverse@googlemail.com>
Fri, 12 Apr 2013 15:30:45 +0000 (17:30 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 12 Apr 2013 19:48:32 +0000 (21:48 +0200)
commit0e672215d07119a934f7c8555d33a6fc93daa545
tree4426058ad900d88332b7c2313ffd7b9a47b25b6d
parentae92842a85fc3909a7d02f61b7899453e51b627f
[BUGFIX] Prevent building empty IN () query by throwing exception

If $storagePageIds is empty Typo3DbBackend::addPageIdStatement()
InconsistentQuerySettingsException is thrown instead of creating
an invalid query

Fixes: #47167
Releases: 6.1, 6.0, 1.3
Change-Id: Ib52884573c9a09b791c0b090daaffc9b7d15b6a1
Reviewed-on: https://review.typo3.org/19861
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php