mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-444: Deferred explicit policy doesn't update data #554
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 (Mar 19, 2010).
Jira issue originally created by user bjori:
When using the deferred explicit policy the entities no longer get updated and undefined indexes notices get thrown.
This seems to be caused by a typo in UnitOfWork::scheduleForDirtyCheck():
The _scheduledForDirtyCheck entries are expected to be an array of entities (see UOW::computeChangeSets() foreach($entitiesToProcess..)).
Attached patch fixes both issues :]
@doctrinebot commented on GitHub (Mar 19, 2010):
Comment created by bjori:
Added a testcase
@doctrinebot commented on GitHub (Mar 19, 2010):
Comment created by @beberlei:
I think we need a specific testmodel for the non-default change tracking policies also.
@doctrinebot commented on GitHub (Mar 19, 2010):
Comment created by romanb:
Thanks. I will apply the patches and commit them as soon as I can.
@doctrinebot commented on GitHub (Mar 20, 2010):
Comment created by romanb:
Should be fixed now. Thanks for the patches.
@doctrinebot commented on GitHub (Mar 20, 2010):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Dec 13, 2015):
Imported 2 attachments from Jira into https://gist.github.com/f48236ab9f321b1c3f4a