Applying patch to entitycache.