Hi. I'd appreciate some help on this one please...

I'm trying to recursively an item that hasMany other items. The "other
item" model has a custom $foreignKey defined (due to restrictions on
the available database).

However, when deleting an "item", this custom foreign key isn't
recognised, and cake fires out a query of "otheritem.id", as opposed
to "otheritem.customid", and obviously causes an SQL error, as the
field does not exist.

Have I found a bug in Cake, or has anyone else solved this problem?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to