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

Cascading refresh to lazy loaded assocations #6797

Conversation

zluiten
Copy link
Contributor

@zluiten zluiten commented Oct 27, 2017

Fixes #4252
Closes #1218

Bug description

Refreshing an entity resets toMany (extra) lazy loaded associations to an empty collection before the refresh operation is cascaded to its underlying associations. Meaning objects that should be refreshed stay unrefreshed in the UoW.

Fix

The fix simply cascades the operation to its associations before refreshing the current entity.

@zluiten zluiten force-pushed the fix/4252-cascading-refresh-to-lazy-associations branch 2 times, most recently from 8025734 to 5efce6a Compare October 27, 2017 12:43
@zluiten zluiten force-pushed the fix/4252-cascading-refresh-to-lazy-associations branch 2 times, most recently from 51fb5c8 to 249e461 Compare October 27, 2017 13:11
@zluiten zluiten closed this Oct 27, 2017
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