Re: issues with scaffolding and HABTM on 1.2.5

2009-10-01 Thread Javier
I have resolved the issue. Seems that the case of column names stored in the DB is important to cakephp. made all my column names lowercase in the database, and all worked. I think this is a bug, since rdbm are all case insensitive and the problem doesn't happen with HABTM relationships. BTW- hap

issues with scaffolding and HABTM on 1.2.5

2009-09-30 Thread Javier
I'm attempting a simple example documented here: http://www.packtpub.com/article/working-with-complex-associations-using-cakephp however, can't get this to work on 1.2.5 I get following message: Notice (8): Undefined index: book_id [CORE\cake\libs\model\datasources \dbo_source.php, line 861