DDC-1396: [APC Cache] "clear-cache" commands do not work with cli #2017

Closed
doctrinebot opened this Issue Sep 27, 2011 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user jforet:

Commands for clear-cache:result, clear-cache:query, clear-cache:metadata do not work with cli and APC Cache

Revert some correction not tested by guilhermeblanco by adding

if ($cacheDriver instanceof \Doctrine\Common\Cache\ApcCache)
{
    throw new \LogicException("Cannot clear APC Cache from Console, its shared in the Webserver memory and not accessible from the CLI.");
}
@doctrinebot

Comment created by @guilhermeblanco:

Fixed in 8efae0b

Thanks for the report. =)

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.2 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment