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

EXPOSED-689 warmUpLinkedReferences() should not return all the values from cache #2355

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

obabichevjb
Copy link
Collaborator

Description

Summary of the change: Provide a concise summary of this PR. Describe the changes made in a single sentence or short paragraph.

Detailed description:

  • What: The method EntityClass::warmUpLinkedReferences() was filling the cache by values from references argument and returning after that all the values from cache. As a result on the second call with a new list of references the wrong result was returned (all the values from the cache were returned)
  • How: The solution is to filter cache values by the values from references argument and return the filtered result.

Type of Change

  • Bug fix

Affected databases:

  • All

Related Issues

EXPOSED-689 warmUpLinkedReferences() should not return all the values from cache

@obabichevjb obabichevjb requested a review from bog-walk January 14, 2025 13:54
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.

1 participant