DDC-1395: [Doctrine cache clear-result] - wrong function is used #1747

Open
opened 2026-01-22 13:24:29 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Sep 27, 2011).

Originally assigned to: @guilhermeblanco on GitHub.

Jira issue originally created by user jforet:

lib\Doctrine\ORM\Tools\Console\Command\ClearCache\ResultCommand.php

Fixing

$cacheDriver = $em->getConfiguration()->getQueryCacheImpl();
by
$cacheDriver = $em->getConfiguration()->getResultCacheImpl();

Fixing

output->write('Clearing ALL Query cache entries' . PHP_EOL);
by
output->write('Clearing ALL Result cache entries' . PHP_EOL);
Originally created by @doctrinebot on GitHub (Sep 27, 2011). Originally assigned to: @guilhermeblanco on GitHub. Jira issue originally created by user jforet: **lib\Doctrine\ORM\Tools\Console\Command\ClearCache\ResultCommand.php** Fixing ``` $cacheDriver = $em->getConfiguration()->getQueryCacheImpl(); by $cacheDriver = $em->getConfiguration()->getResultCacheImpl(); ``` Fixing ``` output->write('Clearing ALL Query cache entries' . PHP_EOL); by output->write('Clearing ALL Result cache entries' . PHP_EOL); ```
admin added the Bug label 2026-01-22 13:24:29 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1747