Monday, February 23, 2015

Re: Still having trouble with saving BelongsToMany data

Saving works fine with using the _ids, but as soon as I add join data to the mix, it refuses to save with validation errors.

Also, if I include the entire Attribute entity, and remove the validation of attribute_id and listing_id from listings_attributes, I can get the attributes to save, but the _joinData still does not save.  It is obviously not working as advertised.

Also, I looked for test cases in the test code and found none. 

It appears that it is time to write it up as a bug...

--
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: