José, Kevin,
Breakthrough at last!
https://github.com/cakephp/cakephp/issues/6100
Fixed validation & other minor discrepancies in Table/Entity classes that may not have even affected things much, but didn't get any better results.
Finally i had nothing left, so tried resetting indexes on the associated data - it was the only difference left i could see:
Before doing this, patchEntity() was losing the _joinData. After adding that reset, it works!
Mark is going to research it further, but for now at least i have a relatively low-impact workaround.
Thanks for all your help.
On Friday, 13 March 2015 13:13:30 UTC-4, heavyKevy wrote:
-- Breakthrough at last!
https://github.com/cakephp/cakephp/issues/6100
Fixed validation & other minor discrepancies in Table/Entity classes that may not have even affected things much, but didn't get any better results.
Finally i had nothing left, so tried resetting indexes on the associated data - it was the only difference left i could see:
$this->request->data['attributes'] = array_values($this->request->data['attributes']);
Before doing this, patchEntity() was losing the _joinData. After adding that reset, it works!
Mark is going to research it further, but for now at least i have a relatively low-impact workaround.
Thanks for all your help.
On Friday, 13 March 2015 13:13:30 UTC-4, heavyKevy wrote:
I believe that is your answer you were looking for...
I missed it too.
Thanks Jose for pointing that one out.
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:
Post a Comment