ManyToMany inverse relationships need by_reference on form to update #1566
Labels
actionable
Clear and specific issues ready for anyone to take them.
Form
good first issue
Ideal for your first contribution! (some Symfony experience may be required)
Milestone
As per discussion on #symfony this evening, it should be documented somewhere that when you have a ManyToMany relationship, and you need the inverse to update the ORM model, you need to pass the by_reference option.
https://gist.github.com/3121916 is a good example of setting up this sort of relationship. Then in your form:
The text was updated successfully, but these errors were encountered: