Hi
We have one model, with a hasOne relation defined,
call model one
call relation model var as such $varName = $modelOne->Relation->getVar();
then call a update to model one $modelOne->setAnotherVar('somevalue'); $modelOne->update()
this then fails to siliently, however removing the hasOne relation in this way and then calling a simplar process like so does work.
$Relation = Relation::findFirst("id = '{$modelOne->getRelationId()}'"); $varName = $Relation->getVar();
$modelOne->setAnotherVar('somevalue'); $modelOne->update()