Bug #80675
closedRecycler Scheduler job fails - due to missing doctrine bind variables
100%
Description
Recycler Scheduler job fails due to missing doctrine bind variables.
To reproduce:- Setup Recycler Scheduler job
- Select the "Backend Layout" table
- Run
Error:
Execution of task "Remove deleted records (recycler)" failed with the following message: An exception occurred while executing 'SELECT `icon` FROM `backend_layout` WHERE (`deleted` = :dcValue1) AND (`tstamp` < :dcValue2)': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':dcValue1) AND (`tstamp` < :dcValue2)' at line 1
This seems to be caused by CleanerTask->deleteFilesForTable
which reuses the $constraints from CleanerTask->cleanTable
, but without the doctrine createNamedParameter bind variables.
Updated by Thomas Hohn over 7 years ago
- Subject changed from Recycler Scheduler job fails do to missing doctrine bind variables to Recycler Scheduler job fails - due to missing doctrine bind variables
- Description updated (diff)
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52362
Updated by Christer V over 7 years ago
- Setup the "Remove deleted records" task
- Select "Backend Layout" as table
- Run
Updated by Gerrit Code Review over 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52362
Updated by Christer V over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9819cad45380716638d7a22adfd2559307003618.