Nope very simple patch/save like this:
https://gist.github.com/darxmac/20736a8d81bfb27815a1 On 15 Jul 2014, at 00:06, José Lorenzo <jose....@gmail.com> wrote: > Are you setting the property in a beforeSave or something similar? > > On Monday, July 14, 2014 11:55:47 PM UTC+2, Thomas von Hassel wrote: > Hey (sorry, for spamming ;) > > I have a Model that i want to save some associated data with (hasMany) > > I use patchEntity to merge my request data with the existing entity, and the > correct values are marked as dirty, but only the main model is being > persisted. > > One thing, the association is set in a Behavior and has some extra > conditions. > > > /thomas > > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to cake-php+unsubscr...@googlegroups.com. > To post to this group, send email to cake-php@googlegroups.com. > Visit this group at http://groups.google.com/group/cake-php. > For more options, visit https://groups.google.com/d/optout. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.