symfony / security-acl

Symfony Security ACL Component
https://symfony.com/components/Security
MIT License
362 stars 49 forks source link

Exception with Redis cache #47

Open dxops opened 5 years ago

dxops commented 5 years ago
Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Call to a member function getParentAcl() on boolean vendor/symfony/security-acl/Domain/DoctrineAclCache.php line 157

https://github.com/symfony/security-acl/blob/master/Domain/DoctrineAclCache.php#L112 https://github.com/symfony/security-acl/blob/master/Domain/DoctrineAclCache.php#L125

Environment: Redis with allkeys-lru configuration, so cache key removed at some point