DCOM-16: Doctrine\Cache\Cache\AbstractCache::deleteByPrefix() vs. cache namespace #460

doctrinebot opened this Issue Aug 5, 2010 · 2 comments

1 participant


Jira issue originally created by user xlite:

The methods deleteByPrefix() / deleteByRegExp() / deleteBySuffix() are based on the method getIds(), which returns unique identifiers with an added namespace in the front. That is why to be able to delete cells using these three methods, you have to know the namespace.

$cacheDriver->save('data', 'name');

In this example the cell will not be deleted.


Comment created by @guilhermeblanco:

In commit: http://github.com/doctrine/common/commit/a2238b871c13cf0e195fa18f0b8744e38baabf48
I committed a fix to this issue.

Thanks for reporting that!


Issue was closed with resolution "Fixed"

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