What steps will reproduce the problem?
1. Try to save a MANY_MANY relation
What is the expected output?
Correct saving :)
What do you see instead?
CException
Description
Property "Project.setRelationRecords" is not defined.
Stack Trace
#0
/Users/tobias/Webserver/NetBeans/hk-2010/lib/yii/db/ar/CActiveRecord.php(110):
CComponent->__get('setRelationReco...')
#1 /Users/tobias/Webserver/NetBeans/hk-2010/lib/yii/base/CComponent.php(264):
CActiveRecord->__get('setRelationReco...')
#2
/Users/tobias/Webserver/NetBeans/hk-2010/lib/yii/db/ar/CActiveRecord.php(195):
CComponent->__call('setRelationReco...', Array)
#3 [internal function]: CActiveRecord->__call('setRelationReco...', Array)
#4
/Users/tobias/Webserver/NetBeans/hk-2010/modules/za/controllers/ProjectControlle
r.php(91): Project->setRelationRecords('persons', Array)
#5
/Users/tobias/Webserver/NetBeans/hk-2010/lib/yii/web/actions/CInlineAction.php(3
2): ProjectController->actionCreate()
Please use labels and text to provide additional information.
Looks like the attached behavior does not get called correctly, instead yii's
trying to set the property with Magic Methods?!
Original issue reported on code.google.com by schm...@usrbin.de on 9 Sep 2010 at 1:29
Original issue reported on code.google.com by
schm...@usrbin.de
on 9 Sep 2010 at 1:29