On Fri, Apr 8, 2011 at 2:28 PM, Mariano C. <[email protected]> wrote:
> I suppose, I've just made a dump

What is the primary key for the model? Is it id? The error is telling
you that the model thinks the PK is id but that the database is saying
something else. Put debug($this->YourModel::schema()) somewhere so you
can see what the DB source is returning.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to