[PR #794] [MERGED] Multiple invokation of listeners on PreFlush event #8721

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/794
Author: @stefankleff
Created: 9/19/2013
Status: Merged
Merged: 1/2/2014
Merged by: @beberlei

Base: masterHead: patch-1


📝 Commits (4)

  • 1ec5632 Multiple invokation of listeners on PreFlush event
  • d4a08f7 Added unit test
  • 619c6a0 removed unused use statements, fixed typo and group tag
  • adf2b7c Listener class prefix

📊 Changes

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

View changed files

📝 lib/Doctrine/ORM/UnitOfWork.php (+1 -1)
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2692Test.php (+63 -0)

📄 Description

Only lifecycle callbacks and entity listeners should be triggered here. The preFlush listener event is already triggered at the beginning of commit()


🔄 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/794 **Author:** [@stefankleff](https://github.com/stefankleff) **Created:** 9/19/2013 **Status:** ✅ Merged **Merged:** 1/2/2014 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (4) - [`1ec5632`](https://github.com/doctrine/orm/commit/1ec5632a189b2a11b439ddae90dabdc2152be917) Multiple invokation of listeners on PreFlush event - [`d4a08f7`](https://github.com/doctrine/orm/commit/d4a08f7ab76658e38a93d7705ad2881f911aecbd) Added unit test - [`619c6a0`](https://github.com/doctrine/orm/commit/619c6a03ce503a17a5c54fd8c98656f4f1d24817) removed unused use statements, fixed typo and group tag - [`adf2b7c`](https://github.com/doctrine/orm/commit/adf2b7cce7dd2c833974def851f1202c280d80f8) Listener class prefix ### 📊 Changes **2 files changed** (+64 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/UnitOfWork.php` (+1 -1) ➕ `tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2692Test.php` (+63 -0) </details> ### 📄 Description Only lifecycle callbacks and entity listeners should be triggered here. The preFlush listener event is already triggered at the beginning of commit() --- <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:01:14 +01:00
admin closed this issue 2026-01-22 16:01:15 +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#8721