[BUGFIX] Do not use doctrine constraints without bind values 62/52362/3
authorChrister Vindberg <cvi@systime.dk>
Tue, 4 Apr 2017 10:59:17 +0000 (12:59 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 6 Apr 2017 05:15:58 +0000 (07:15 +0200)
commit9819cad45380716638d7a22adfd2559307003618
tree662fea6dd51180489995306d8b45aea6d36483dc
parentb6cfadc90483c92449261e4de550515887c39a5b
[BUGFIX] Do not use doctrine constraints without bind values

Changed so doctrine constraints without the corresponding
bind values aren't passed around.

The $constraints variable defined in CleanerTask->cleanTable
is reused in CleanerTask->deleteFilesForTable, but without
the doctrine createNamedParameter bind variables, since the
querybuilder is recreated. This caused the task to fail.

Resolves: #80675
Releases: master
Change-Id: I2da9b33f884f51bf9d90a9d08841fb4491eedea2
Reviewed-on: https://review.typo3.org/52362
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/recycler/Classes/Task/CleanerTask.php