Skip to content

Loading…

DDC-444: Deferred explicit policy doesn't update data #4945

Closed
doctrinebot opened this Issue · 6 comments

1 participant

@doctrinebot

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

Comment created by bjori:

Added a testcase

@doctrinebot

Comment created by @beberlei:

I think we need a specific testmodel for the non-default change tracking policies also.

@doctrinebot

Comment created by romanb:

Thanks. I will apply the patches and commit them as soon as I can.

@doctrinebot

Comment created by romanb:

Should be fixed now. Thanks for the patches.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-BETA1 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.