[BUGFIX] Use the correct named parameter type in Extbase queries 02/52802/14
authorChristian Toffolo <ian@webian.it>
Sun, 14 May 2017 12:24:25 +0000 (14:24 +0200)
committerBenni Mack <benni@typo3.org>
Sat, 17 Jun 2017 19:12:58 +0000 (21:12 +0200)
commit0bd1746384980d9f6f7387d8638d280443ee843b
tree559d48d30dcdba56f6517f67ec7e75bdcc0e0e1e
parentc5d75c151cdd23ed24ea0acd9e01767054ac7353
[BUGFIX] Use the correct named parameter type in Extbase queries

In Extbase query expressions the second operand is converted to a plain
value which is either an integer or a string. This type must also be
specified when creating a named parameter in the query.

Resolves: #79473
Resolves: #80978
Resolves: #81487
Resolves: #81019
Resolves: #81056
Releases: master, 8.7
Change-Id: I835643653e03b98bfcd5a8b35b5de750641ecb79
Reviewed-on: https://review.typo3.org/52802
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php