You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
If I move a node to a parent, where already a sourceuripath exists, because the node was moved away from this parent before, the Doctrine Entitymanager throws an exception "Entity has to be managed or scheduled for removal for single computation".
Steps to reproduce
Create a node in two dimensions and publish all
Move the node below a new parent and publish all
Move the node back to old parent and publish all (if you publish each dimension alone, it works)
What I already know
This behavior started with doctrine/orm: "2.19.5", caused by this change: doctrine/orm#11428
Description
If I move a node to a parent, where already a sourceuripath exists, because the node was moved away from this parent before, the Doctrine Entitymanager throws an exception "Entity has to be managed or scheduled for removal for single computation".
Steps to reproduce
What I already know
This behavior started with
doctrine/orm: "2.19.5"
, caused by this change: doctrine/orm#11428The UnitOfWork checks the state of each entity on change set computation: https://github.com/doctrine/orm/blob/2.19.x/src/UnitOfWork.php#L573
This seems to be affected by the change above.
Might be related: doctrine/orm#11480
Affected Version: 5.0.4
The text was updated successfully, but these errors were encountered: