yii2-relation-trait icon indicating copy to clipboard operation
yii2-relation-trait copied to clipboard

$notDeletedPK - ID's of models came null

Open I-NOZex opened this issue 6 years ago • 0 comments

https://github.com/mootensai/yii2-relation-trait/blob/8149499fb4dc168c13bb1b97ebc23b6f570c425a/RelationTrait.php#L230

In line 190...199, when getting the primaryKey, it cames null, i could not figure why, it seems that after the save, the related model loses the primarykey/id Could you investigate? Thank you

I-NOZex avatar Jan 17 '18 14:01 I-NOZex