Details
Description
The deleteAll() function delete all keys with no respect of the namespace.
Using orm:clear-cache:metadata with memcache result in the deletion of all memcache keys. (including keys unrelated to the orm)
The deleteAll() function delete all keys with no respect of the namespace.
Using orm:clear-cache:metadata with memcache result in the deletion of all memcache keys. (including keys unrelated to the orm)
See pull request : https://github.com/doctrine/common/pull/46
I think the best way to fix this problem is to check for the namespace in the getIds() function.
Unfortunately, that would break the interface of AbstractCache
Split the function in getIds() and abstract _getIds(). Do the namespace check in getIds()
I can do pull request on github if necessary.
NOTE
I checked on master branch and the probleme is not fixed by commit
786deeae264ae03061d6aa92c681afa4344f18b9 : Fixed AbstractCache where delete* functions were incorrectly being prepended by namespace if any is defined. This was causing a double p