You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have custom Yii1 and Doctrine2 framework.
We use Doctrine instead of Yii Active record.
We have our own DataProvider extended from \CDataProvider.
You ignored checking this base abstract class and so id will return as null,
If you could change your code (for example add the below code before return null), it will be appreciated.
if ($this->grid->dataProvider instanceof CDataProvider) {
return $data->getId();
}
The text was updated successfully, but these errors were encountered:
Hi,
We have custom Yii1 and Doctrine2 framework.
We use Doctrine instead of Yii Active record.
We have our own DataProvider extended from \CDataProvider.
You ignored checking this base abstract class and so id will return as null,
If you could change your code (for example add the below code before return null), it will be appreciated.
if ($this->grid->dataProvider instanceof CDataProvider) {
return $data->getId();
}
The text was updated successfully, but these errors were encountered: