[PR #46] [CLOSED] [DDC-1113] getCommitOrder misses some relations when used with Inheritance and self-referencing field #7631

Closed
opened 2026-01-22 15:56:05 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/46
Author: @xanf
Created: 4/12/2011
Status: Closed

Base: masterHead: master


📝 Commits (2)

  • c2bd841 Modified getCommitOrder to make it work with self-referencing assocs and inheritance
  • 9fa1bbe Implemented test for DDC-1113 issue

📊 Changes

2 files changed (+96 additions, -1 deletions)

View changed files

📝 lib/Doctrine/ORM/UnitOfWork.php (+3 -1)
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1113Test.php (+93 -0)

📄 Description

This pull request fixes bug when self-referencing field in parent class is messing correct commit order calculations for child classes. Test case included


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/46 **Author:** [@xanf](https://github.com/xanf) **Created:** 4/12/2011 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`c2bd841`](https://github.com/doctrine/orm/commit/c2bd8411ea88796dbc336d117b3c44a33985b041) Modified getCommitOrder to make it work with self-referencing assocs and inheritance - [`9fa1bbe`](https://github.com/doctrine/orm/commit/9fa1bbe0ae410b2665ee522b56f2784e302cc0bc) Implemented test for DDC-1113 issue ### 📊 Changes **2 files changed** (+96 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/UnitOfWork.php` (+3 -1) ➕ `tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1113Test.php` (+93 -0) </details> ### 📄 Description This pull request fixes bug when self-referencing field in parent class is messing correct commit order calculations for child classes. Test case included --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:56:05 +01:00
admin closed this issue 2026-01-22 15:56:05 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7631