Should I report the fact that $model->setDataSource($dbConfig) do not
affect related models as a bug or as an enhancement?

Actually, if I set

$model->setDataSource('test_suite');

Related model like $model->Model2 will still have  $dbConfig='default'
not $dbConfig='test_suite' as the main model - what looks don't make
sense.

Maybe it should instantiate a new Model2 with $dbConfig='test_suite'
instead of keeping relations of models between databases.

Is it a bug or should report only as an enhancement?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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