You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the keys generated by FindObjectsQueryFactory in the compute() method (for example) contain spaces in the filterString and therefore the cache $key, which Doctrine's MemcachedCache class does not allow:
Sidenote: I am triggering this problem by performing a $this->find() method call within a Dao object, such as:
return $this->find("user_agent IN (:user_agent)", [ 'user_agent' => implode(',', $user_agent) ]);
In this example, this part of the query ends up in the filterString ("user_agent IN (:user_agent)") and that is where the spaces are.
When tested with ArrayCache or ApcuCache it works fine.
The text was updated successfully, but these errors were encountered:
It looks like the keys generated by FindObjectsQueryFactory in the compute() method (for example) contain spaces in the filterString and therefore the cache $key, which Doctrine's MemcachedCache class does not allow:
https://github.com/doctrine/cache/blob/master/lib/Doctrine/Common/Cache/MemcachedCache.php
See the validateCacheId() method.
Sidenote: I am triggering this problem by performing a $this->find() method call within a Dao object, such as:
return $this->find("user_agent IN (:user_agent)", [ 'user_agent' => implode(',', $user_agent) ]);
In this example, this part of the query ends up in the filterString ("user_agent IN (:user_agent)") and that is where the spaces are.
When tested with ArrayCache or ApcuCache it works fine.
The text was updated successfully, but these errors were encountered: