Hi heavyKevy, thank you for your answer!
Ok, about your first advise, I simplified and its ok, but about the issue, that´s it, the problem is the missind ID. But I simlpy don´t know why all other entitys comes with the id and Addresses not! That is the problem. Do you know why?
Thanks in advance!
Paulo Terra
Em segunda-feira, 18 de abril de 2016 04:50:18 UTC-3, heavyKevy escreveu:
-- Ok, about your first advise, I simplified and its ok, but about the issue, that´s it, the problem is the missind ID. But I simlpy don´t know why all other entitys comes with the id and Addresses not! That is the problem. Do you know why?
Thanks in advance!
Paulo Terra
Em segunda-feira, 18 de abril de 2016 04:50:18 UTC-3, heavyKevy escreveu:
First off you don't need to cotain users 3 times, Users.Addresses.Countries includes all 3 tables already.Secondly, if the address has the id, it should automatically detect that it is being edited, if the id is missing it will add the address.
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow 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.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment