Monday, February 23, 2015

Re: Still having trouble with saving BelongsToMany data

i took a look at the issues tonight myself and saw the same. i'll run the update & re-bakes tomorrow to test it out.

Thanks for all your help.
-joe


On Tuesday, 24 February 2015 02:09:55 UTC-5, heavyKevy wrote:
Joe,
Looking more carefully, I see that the tickets are recently closed.

I did a composer update --prefer-dist,

rebaked the listingsAttributes controller and templates,
removed the validation for attribute_id and listing_id from the listings_Attributes table and it is saving the listings and the listing attributes correctly.

Note: don't forget to allow the id for the attributes or it will recreate the attributes every time.

--Kevin

--
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+unsubscribe@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.

No comments: