mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #255] [CLOSED] When using a ManyToMany relationship no listener is notified about any change to the owning entity #7924
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/255
Author: @fran6co
Created: 1/12/2012
Status: ❌ Closed
Base:
master← Head:07048be8📝 Commits (1)
07048beWhen using a ManyToMany relationship no listener is notified about any change to the owning entity.📊 Changes
1 file changed (+14 additions, -8 deletions)
View changed files
📝
lib/Doctrine/ORM/UnitOfWork.php(+14 -8)📄 Description
What I'm doing with this patch is marking the entity for update when there is a modification in the ManyToMany relationship so the listeners are notified about it.
The main reason for this is for hooking up services like Solr or other indexers to update the entities even for ManyToMany relationships.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.