[BUGFIX] Use the correct named parameter type in Extbase queries 44/53244/2
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:36:06 +0000 (21:36 +0200)
commitf2b35790211673f96b1eecd7f17b7ea40b84f96e
tree799a15131ceed0345422dd833765ed06da15ccda
parentd6061a12afcab710cbd80d2196023beeb9d88749
[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/53244
Tested-by: TYPO3com <no-reply@typo3.com>
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