mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1593: Duplicate associations with flush on PostPersist #2000
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?
Originally created by @doctrinebot on GitHub (Jan 10, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user lutangar:
Hi,
I am playing around this issue for days, maybe it is more a Doctrine2 issue or a simple logic issue, but i cant tell :
Yaml mapping:
Controller function :
Here is the listener :
And here with I got on form submit :
I writed down a test bundle i could post it on github if needed.
Cheers.
@doctrinebot commented on GitHub (Jan 10, 2012):
Comment created by @beberlei:
Flush inside a listener is not allowed.
This should be catched by Doctrine, but is currently not.
@doctrinebot commented on GitHub (Jan 10, 2012):
Issue was closed with resolution "Invalid"