Skip to content


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

doctrinebot opened this Issue · 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:
I committed a fix to this issue.

Thanks for reporting that!


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.