DDC-2168: [GH-523] [DDC-2074] Bugfix regarding clearing cloned PersistentCollections #2727

Closed
opened 2026-01-22 14:01:47 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Nov 25, 2012).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @beberlei:

This issue is created automatically through a Github pull request on behalf of jankramer:

Url: https://github.com/doctrine/doctrine2/pull/523

Message:

When calling clear on a PC that has no owner (e.g. because it was cloned), it can't be deleted as there is no metadata available (that's essentially the exception mentioned in the ticket). In these cases, I think it shouldn't be scheduled for deletion, but please have a look as my knowledge of the ORM internals is limited.

Originally created by @doctrinebot on GitHub (Nov 25, 2012). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @beberlei: This issue is created automatically through a Github pull request on behalf of jankramer: Url: https://github.com/doctrine/doctrine2/pull/523 Message: When calling clear on a PC that has no owner (e.g. because it was cloned), it can't be deleted as there is no metadata available (that's essentially the exception mentioned in the ticket). In these cases, I think it shouldn't be scheduled for deletion, but please have a look as my knowledge of the ORM internals is limited.
admin added the Bug label 2026-01-22 14:01:47 +01:00
admin closed this issue 2026-01-22 14:01:48 +01:00
Author
Owner

@doctrinebot commented on GitHub (Nov 25, 2012):

Comment created by @beberlei:

A related Github Pull-Request [GH-523] was closed
https://github.com/doctrine/doctrine2/pull/523

@doctrinebot commented on GitHub (Nov 25, 2012): Comment created by @beberlei: A related Github Pull-Request [GH-523] was closed https://github.com/doctrine/doctrine2/pull/523
Author
Owner

@doctrinebot commented on GitHub (Nov 25, 2012):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Nov 25, 2012): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Feb 8, 2014):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-523] was closed:
https://github.com/doctrine/dbal/pull/523

@doctrinebot commented on GitHub (Feb 8, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-523] was closed: https://github.com/doctrine/dbal/pull/523
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2727