mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #887] [CLOSED] DDC-2871 PreFlush event called multiple times in event manager. #8850
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/887
Author: @Strate
Created: 12/25/2013
Status: ❌ Closed
Base:
master← Head:bugfix/DDC-2871📝 Commits (1)
630ad49DDC-2871 PreFlush event called multiple times in event manager.📊 Changes
2 files changed (+82 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/UnitOfWork.php(+2 -1)➕
tests/Doctrine/Tests/ORM/Functional/PreFlushEventTest.php(+80 -0)📄 Description
PreFlush event called multiple times in event manager.
In this fix while computing entity changeset preFlush event will be called only in callbacks and entity listeners, not in event manager.
more discuddion here: http://www.doctrine-project.org/jira/browse/DDC-2871
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.