mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #1035] [CLOSED] Problem with orphanRemoval #9067
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/1035
Author: @raziel057
Created: 5/21/2014
Status: ❌ Closed
Base:
master← Head:master📝 Commits (4)
2e03235Failing Test - Cascade Remove with orphanRemoval7288077Success Test - cascade remove without orphanRemoval151fc3bFailing Test (type of Id after cloning)592c106Failing 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.