Hi folks I have an HABTM relation table with no id, Cake complains when saving:
Undefined index: id [CORE/cake/libs/model/model.php, line 1312] The table looks like: examenes_referencias referencia_id examen_id I changed the line 1312 to this: http://bin.cakephp.org/saved/50559 No error after that. I couldn't figure out how to open a bug on trac, nor I'm sure that is a "real" bug or that that's the best fix. But it's a fix :) Hope it helps. Adding id to the table fixes it too. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
