kayue/KayueWordpressBundle — pull request #20 by luiges90 (2013-06-28 04:09:11+00:00)
Title: Blog: fix using multiple entity manager can cause wrong query

Root cause: we were passing a Doctrine Config object _from the default entity manager_ into our new entity manager. As a result, when we set the cache implementation of our "presumed" new entity manager, we (wrongly) set the cache implementation of the default entity manager, because they shared the same config object.