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

Closed
opened 2026-01-22 13:24:33 +01:00 by admin · 2 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:33 +01:00
admin closed this issue 2026-01-22 13:24:33 +01:00
Author
Owner

@doctrinebot commented on GitHub (Oct 3, 2011):

Comment created by @guilhermeblanco:

Fixed in cd28051370

@doctrinebot commented on GitHub (Oct 3, 2011): Comment created by @guilhermeblanco: Fixed in https://github.com/doctrine/doctrine2/commit/cd2805137056688fc0848f7fa76b479d681a3cb6
Author
Owner

@doctrinebot commented on GitHub (Oct 3, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Oct 3, 2011): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1750