Skip to content

Conversation

@sh41
Copy link

@sh41 sh41 commented Aug 2, 2020

Related to #25, #28 & #35.

The implementation didn't handle Entities using class inheritance correctly as the Unit Of Work Identity Map entity name will refer to the root class of an Entity which uses inheritance but the cached decryptions array did not use the same reference.

This change adds tests for the scenario and provides a fix.

It also re-enables tests that were accidentally disabled by renaming the functional test cases from *Test.php to *TestCase.php in #36 which meant they were not picked up by the filter in phpunit.xml.dist.

sh41 added 3 commits August 2, 2020 15:10
…Previously we used a mixture of the Identity Map class name, which could reference the root class as well as the actual class and result of get_class(). Changed to only use the existing $realClass variable.
@r3hp1c
Copy link

r3hp1c commented Jul 17, 2023

Zombaya pushed a commit to integr8rs/DoctrineEncryptBundle that referenced this pull request Dec 15, 2024
@sh41 sh41 closed this Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants