[PR #1035] [CLOSED] Problem with orphanRemoval #9067

Closed
opened 2026-01-22 16:03:03 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/1035
Author: @raziel057
Created: 5/21/2014
Status: Closed

Base: masterHead: master


📝 Commits (4)

  • 2e03235 Failing Test - Cascade Remove with orphanRemoval
  • 7288077 Success Test - cascade remove without orphanRemoval
  • 151fc3b Failing Test (type of Id after cloning)
  • 592c106 Failing Test (type of Id after cloning)

📊 Changes

4 files changed (+466 additions, -0 deletions)

View changed files

tests/Doctrine/Tests/ORM/Functional/Ticket/DDC0000Test (+129 -0)
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC0001Test (+129 -0)
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC0002Test (+104 -0)
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1000Test (+104 -0)

📄 Description

Hi,

I created 2 tests to show that we encounter a problem when using orphanRemoval (see 2e0323534b).

-> The ActionLog is created with no value in the "action" column.

That's not the case when removing manually (see 7288077cdc).

-> The ActionLog is created with value "remove" in the "action" column.

I think the behavior must be the same in the 2 Tests.


🔄 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/1035 **Author:** [@raziel057](https://github.com/raziel057) **Created:** 5/21/2014 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (4) - [`2e03235`](https://github.com/doctrine/orm/commit/2e0323534b72f2923e72596414c6dea548be3b1f) Failing Test - Cascade Remove with orphanRemoval - [`7288077`](https://github.com/doctrine/orm/commit/7288077cdcb59944063a973ab9a830e04ecb7e3e) Success Test - cascade remove without orphanRemoval - [`151fc3b`](https://github.com/doctrine/orm/commit/151fc3b1734535d87619327f4e5debf4e61bffdc) Failing Test (type of Id after cloning) - [`592c106`](https://github.com/doctrine/orm/commit/592c1060d048684dcbf1028a6dd0897f1c357802) Failing Test (type of Id after cloning) ### 📊 Changes **4 files changed** (+466 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `tests/Doctrine/Tests/ORM/Functional/Ticket/DDC0000Test` (+129 -0) ➕ `tests/Doctrine/Tests/ORM/Functional/Ticket/DDC0001Test` (+129 -0) ➕ `tests/Doctrine/Tests/ORM/Functional/Ticket/DDC0002Test` (+104 -0) ➕ `tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1000Test` (+104 -0) </details> ### 📄 Description Hi, I created 2 tests to show that we encounter a problem when using orphanRemoval (see https://github.com/raziel057/doctrine2/commit/2e0323534b72f2923e72596414c6dea548be3b1f). -> The ActionLog is created with no value in the "action" column. That's not the case when removing manually (see https://github.com/raziel057/doctrine2/commit/7288077cdcb59944063a973ab9a830e04ecb7e3e). -> The ActionLog is created with value "remove" in the "action" column. I think the behavior must be the same in the 2 Tests. --- <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 16:03:03 +01:00
admin closed this issue 2026-01-22 16:03:04 +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#9067