mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2219: computeChangeSets array_merging for associationMappings problem ? #2790
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 @doctrinebot on GitHub (Jan 2, 2013).
Originally assigned to: @ostrolucky on GitHub.
Jira issue originally created by user yohann.poli:
Is this normal that when i call "$changeset = $unitOfWork->getEntityChangeSet($myObject);", it only return changes of root Object, all changes in sub collection (OneToMany) are less (not merging in the changeset) ?
Is there an issue for that?
@doctrinebot commented on GitHub (Jan 2, 2013):
Comment created by @ocramius:
Changesets of collections are computed separately from those of entities.
@doctrinebot commented on GitHub (Jan 2, 2013):
Comment created by yohann.poli:
Have to call the compute method for each collection of the entity ?
@doctrinebot commented on GitHub (Jan 6, 2013):
Comment created by @beberlei:
Yes you have to, but this kind of operation seems weird. What are you trying to achieve.
@doctrinebot commented on GitHub (Jan 7, 2013):
Comment created by yohann.poli:
I manage a complex entity who have a collection entity (each entity in this collection have another collection entity) attributes and i need to now if the flush method has "really" execute an update.
For example if the level 3 entity is update, i have to know in the root entity all changes apply in child...
@ostrolucky commented on GitHub (Aug 3, 2018):
Not an issue, as explained.