Commit 9f12b77
committed
Fix saving new problems with statements
Fixes #2646.
We used to persist the entity both before and after calling the lifecycle callbacks ourselves, which would introduce weird behavior where Doctrine wanted to insert some rows twice.
By not persisting before calling the callbacks ourselves, this issue goes away.1 parent 3e25ec9 commit 9f12b77
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
565 | 564 | | |
566 | 565 | | |
567 | 566 | | |
| |||
0 commit comments