| Q | A
|------------ | ------
| BC Break | yes/no
| Version | 2.6.4
Since 2.6.4 using clear over a collection using DEFERRED_EXPLICIT will not create the corresponding DELETE statements even when persisting the entity.
Introduced in https://github.com/doctrine/orm/issues/7758
Using clear over a collection using DEFERRED_EXPLICIT will not create the corresponding DELETE statements even when persisting the entity.
A failing test available in https://github.com/doctrine/orm/pull/7861
Collection items should be removed for entities marked to be persisted.
Thank you for providing the failing test case :+1:
Handled by https://github.com/doctrine/orm/pull/7861
Yes I'm the one to blame and I feed very sorry :man_facepalming:
Hopefully everything is fine now :sweat_smile:
Thanks !
@paxal take it easy: regressions are normal, we all do our best to avoid them, but can't have everything in mind.
Most helpful comment
@paxal take it easy: regressions are normal, we all do our best to avoid them, but can't have everything in mind.