It apears to be from 7389 "Removed almost all am() calls from core."
https://trac.cakephp.org/changeset?new=branches%2F1.2.x.x%2Fcake%2Flibs%2Fmodel%2Fmodel.php%407389&old=branches%2F1.2.x.x%2Fcake%2Flibs%2Fmodel%2Fmodel.php%407384

am() puts any string into a new array. When am() was swapped for
array_merge() that conversion was lost and Model::_deleteDependent()
started outputting type-mismatch errors. I spent a few minutes
rewriting all conditions I have defined in associations to be arrays.
That seems to cure it.

I expected this to be the new desired behaviour (even though the
function could handle bad parameters a little better) so I submitted a
few changes to The Book where association conditions are specified as
strings. If this indeed is not the new desired behaviour, then my
changes should of-course be ignored.


/Martin


On Oct 14, 5:31 pm, gwoo <[EMAIL PROTECTED]> wrote:
> Can you find a changeset that modified the behavior?
--~--~---------~--~----~------------~-------~--~----~
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