| View previous topic :: View next topic |
| Author |
Message |
mbang
Joined: Wed Dec 29, 2010 10:08 pm Posts: 2
|
Posted: Wed Dec 29, 2010 10:15 pm Post subject: CakePHP - HABTM problem - SOLVED |
|
|
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 ?
Last edited by mbang on Thu Dec 30, 2010 9:43 pm; edited 1 time in total |
|
| Back to top |
|
 |
mbang
Joined: Wed Dec 29, 2010 10:08 pm Posts: 2
|
Posted: Thu Dec 30, 2010 9:42 pm Post subject: SOLVED |
|
|
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..... |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|