`yii\db\ActiveQuery::removeDuplicatedModels()` throws exception if model primary key is empty
`yii\db\ActiveQuery::removeDuplicatedModels()` throws exception if model primary key is empty

yiisoft/yii2-framework,yiisoft/yii2-framework