Tuesday, July 26, 2011

Re: legacy database, not able to set my own primary key for a view

He says he did so, however the error message he provides tells a different story. The system is looking for a column called Site.id and the "." does not belong there.

Besides that the controller code does not seem to be complete. He makes a call to read() without setting the id, which should return false in any case and would not hit the database at all.

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: