DDC-829: UnitOfWork::computeAssociationChanges() undeclared variable name when throwing InvalidArgumentException of removed entity #1023

Closed
opened 2026-01-22 12:59:14 +01:00 by admin · 4 comments
Owner

Originally created by @doctrinebot on GitHub (Oct 6, 2010).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user disago:

The exception concatenating self::objToStr($removedEntity) but $removedEntity is undeclared. It should be $entry instead. Patch attached against current git version

Originally created by @doctrinebot on GitHub (Oct 6, 2010). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user disago: The exception concatenating self::objToStr($removedEntity) but $removedEntity is undeclared. It should be $entry instead. Patch attached against current git version
admin added the Bug label 2026-01-22 12:59:14 +01:00
admin closed this issue 2026-01-22 12:59:14 +01:00
Author
Owner

@doctrinebot commented on GitHub (Oct 6, 2010):

Comment created by @beberlei:

Is STATE_REMOVED even used anymore? It doesnt seem so as its not getting set in "remove" or "doRemove". Roman whats your take on this?

@doctrinebot commented on GitHub (Oct 6, 2010): Comment created by @beberlei: Is STATE_REMOVED even used anymore? It doesnt seem so as its not getting set in "remove" or "doRemove". Roman whats your take on this?
Author
Owner

@doctrinebot commented on GitHub (Oct 31, 2010):

Comment created by @beberlei:

This has been fixed before.

@doctrinebot commented on GitHub (Oct 31, 2010): Comment created by @beberlei: This has been fixed before.
Author
Owner

@doctrinebot commented on GitHub (Oct 31, 2010):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Oct 31, 2010): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Dec 13, 2015):

Imported 1 attachments from Jira into https://gist.github.com/40caa4fe578159bc603d

@doctrinebot commented on GitHub (Dec 13, 2015): Imported 1 attachments from Jira into https://gist.github.com/40caa4fe578159bc603d - [10822_UnitOfWork.php.patch](https://gist.github.com/40caa4fe578159bc603d#file-10822_UnitOfWork-php-patch)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1023