It may be too late for a bug fix I know, but maybe someone has come across this one before?
I’ve got a CActiveRecord model that has an attached behavior in ‘application.components.behaviours.LoggableBehavior’.
When I cache an array of objects with this ActiveRecord as a sub-element, subsequent calls to Yii::app()->cache->get($id) fail with an ‘Unable to open Stream (LoggableBehavior.php)’ error.