Doctrine cascade removing fails with OneToMany and OneToOne
问题 I've been struggling for the past few days on a simple case of cascade removing using Doctrine. Doctrine and Symfony are up to date. I have two entities Serie and Asset that are linked to each other by two relationships OneToOne and OneToMany. The schema is exactly like this : A Serie has many Assets. (content). A Serie can have an Asset. (a preview, this field is nullable). However, no matter how I try to write and rewrite the annotations, I ALWAYS end up with this error: An exception