mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Flushing multiple times triggers newEntityFoundThroughRelationship #6838
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Herz3h on GitHub (Oct 1, 2021).
I'm having a weird issues where this sample code throws:
A new entity was found through the relationship OutlookEventMaster#eventserror typeRelation is as follows:
$outlookEvent <- ManyToOne -> $outlookEventMasterCode:
The first dumps has getScheduledEntityDeletions returning entities scheduled for deletion.
Strangely, the second dump returns empty arrays for all the scheduled things.
My lib versions:
I have no clue why it is trying to persist an
$outlookEventrelated entity on the second flush.Both sides have
cascade={"remove"}Does anyone have advice for this ? It looks like a bug, but I'm not sure