Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ferrastas
Copy link
Contributor

This is just a demo of an opened issue.

Copy link
Member

@lcobucci lcobucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide a new test class with its own set of entities instead of modifying an existing one.

@lcobucci lcobucci self-requested a review October 10, 2019 07:48
@lcobucci lcobucci dismissed their stale review October 10, 2019 07:49

Actually, you're quite correct here. This scenario should have been there in the first place.

@ferrastas
Copy link
Contributor Author

Yep, looks like a missing test case of the original fix :P

@lcobucci lcobucci added this to the 2.6.5 milestone Nov 12, 2019
@ostrolucky ostrolucky self-assigned this Nov 15, 2019
@ostrolucky
Copy link
Member

I've pushed commit with better solution to fix #7758, without this regression

Copy link
Member

@lcobucci lcobucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ostrolucky thanks a lot for handling it. It's indeed a much better solution. I'll address these two tiny things and we're good to ship this.

ferrastas and others added 2 commits November 15, 2019 22:43
This was regression from #7862 which tried to respect tracking config
when clearing collections, but this logic can happen in UOW only,
PersistentCollection::clear is triggered too early to know what
is (going to be) persisted.

Fixes #7862
@lcobucci lcobucci merged commit 6a827d5 into doctrine:2.6 Nov 15, 2019
@lcobucci
Copy link
Member

@ferrastas @ostrolucky thank you very much 👍

@ferrastas
Copy link
Contributor Author

ferrastas commented Nov 19, 2019

Thanks for fix it @ostrolucky 🏆

ahocquard added a commit to akeneo/pim-community-dev that referenced this pull request Nov 19, 2019
ahocquard added a commit to akeneo/pim-community-dev that referenced this pull request Nov 19, 2019
ahocquard added a commit to akeneo/pim-community-dev that referenced this pull request Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants