Page 1 of 1

CakePHP - HABTM problem - SOLVED

PostPosted: Wed Dec 29, 2010 10:15 pm
by mbang
Thanks for a good series regarding CakePHP. I'm reading it with interest and I'm also trying to make my own solutions. I have a problem with the latest tutorial regarding fileshare. When I create a new upload and select a user to share with and save I don't get any error, but there is no data being saved in the joined table. If I edit the upload and select one or more users in the SharedUser list the correct data is being saved in the joined table. Is this by design or is there anything I have missed ?


PostPosted: Thu Dec 30, 2010 9:42 pm
by mbang
I have solved it. The tutorial did not use the SharedUser in the input form and did not send the correct data through the controller.
After fixing that everything works.....