Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information