VideoItem model:
var $belongsTo = array('User', 'VideoList', 'Video');

>From the controller:
$vi = $this->VideoItem->findById(18);
pr($vi);

The array only contains data for Video, not User or VideoList.

When I modify the association by removing Video:
var $belongsTo = array('User', 'VideoList');

Making no other changes, the array now contains the previously missing
data for User and VideoList.

How is it possible that by adding a third model (Video) to a belongsTo
relationship, it breaks the association with the previous two (User
and VideoList)?
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to