DoctrineEncryptBundle icon indicating copy to clipboard operation
DoctrineEncryptBundle copied to clipboard

fix: Fix handling of proxies in DoctrineEncryptSubscriber

Open jeandanyel opened this issue 2 years ago • 0 comments

The values returned by $unitOfWork->getIdentityMap() may be instances of Proxy, which are entities that have not been loaded yet.

In this case, the @Encrypted properties of proxies should not be encrypted/decrypted, as it unnecessarily loads the entities.

jeandanyel avatar Dec 01 '23 20:12 jeandanyel