Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the determination of the entity class name (for proxied classes) used as key in $cachedDecryptions #50

Closed
wants to merge 3 commits into from
Closed

Conversation

RicoFactset
Copy link

@RicoFactset RicoFactset commented Feb 11, 2021

  • Fixed the determination of the entity class name (for proxied classes) used as key in $cachedDecryptions
    Before the fix, entities were sometimes decrypted and encrypted several times in certain situations, even though only read operations took place. This led to unnecessary write operations and thus to incorrect date changes (last_changed) if such an attribute exists in the data model.

  • Changed coding in some places to follow best practices

  • Removed unnecessary !is_null() check where !empty() was in use too

  • Replaced -5 with -strlen(self::ENCRYPTION_MARKER)

…es) used as key in $cachedDecryptions

- Update coding to follow best practices
- Removed unnecessary !is_null check where !empty() is in use
- Replaced -5 with -strlen(self::ENCRYPTION_MARKER)
…es) used as key in $cachedDecryptions

- Update coding to follow best practices
- Removed unnecessary !is_null check where !empty() is in use
- Replaced -5 with -strlen(self::ENCRYPTION_MARKER)
…es) used as key in $cachedDecryptions

- Update coding to follow best practices
- Removed unnecessary !is_null check where !empty() is in use
- Replaced -5 with -strlen(self::ENCRYPTION_MARKER)
@r3hp1c
Copy link

r3hp1c commented Jul 17, 2023

@RicoFactset RicoFactset closed this by deleting the head repository Apr 16, 2024
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