Thursday, October 1, 2009

Re: issues with scaffolding and HABTM on 1.2.5

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- happens with or without scaffolding.

On Sep 30, 1:07 pm, Javier <domingo_deje...@sbcglobal.net> wrote:
> I'm attempting a simple example documented here:http://www.packtpub.com/article/working-with-complex-associations-usi...
>
> 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]
>
> I'm new to CakePHP....Is this a known issue?
>
> Thanks
>
> --Javier
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: