Re: Cakephp 3.x patchEntity set "'new' => true" to entity in edit function

2016-04-19 Thread heavyKevy
Does your edit form have an input for the address_id? something like:"user.addresses.0.id" I see the id: (29) for the address in the debug output of the entity... If you need further help with it, you are going to need to show the edit form in order to figure out what may be missing. Hope th

Re: Cakephp 3.x patchEntity set "'new' => true" to entity in edit function

2016-04-19 Thread Paulo Terra
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 advan