[Flow] Persistence of many to many relation
Christian Müller
christian.mueller at typo3.org
Sat Mar 29 11:48:18 CET 2014
Hi Rik,
Rik Willems wrote:
> Hi,
>
> I'm trying to connect two models through a many to many relation. It
> works on both sides for the show action but only on one side for the
> save action. Anyone who can point me in the right direction?
you need to take care about the owning side of the relation. Doctrine
expects to always have a owning side for a relation and saving only
works from that side. You can call the setter of the owning side in the
other model if you need it to work transparently on both sides.
Cheers,
Christian
More information about the Flow
mailing list