Thanks Martin! That works. Not quite sure why, but I've added an
'id' field to my join table. For the multi-saves, there's no error,
but nothing is written to the field? Anyhow, I appreciate your help.
Wilson
On Aug 17, 4:02 am, Martin Westin martin.westin...@gmail.com wrote:
Which model
Which model doesn't have an id field?
If it has an pk or uid or some other name you should just let Cake
know via the attribute $primaryKey.
The join-table can manage without any primary key as long as you don't
store any extra data in it. But this is not encouraged, it seems to be
considered as
Hi everyone,
Anytime I save a HABTM relationship, I always get this error:
Notice (8): Undefined index: id
Everything works, but of course, this is annoying when I'm not in
production mode. There is no plain 'id' in the model.
Done a bit of research on it, and found a few others who mention