{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/8082","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/8082/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/8082/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/8082/events","html_url":"https://github.com/yiisoft/yii2/issues/8082","id":68520566,"number":8082,"title":"private property and related","user":{"login":"lynicidn","id":7407411,"avatar_url":"https://avatars.githubusercontent.com/u/7407411?v=3","gravatar_id":"","url":"https://api.github.com/users/lynicidn","html_url":"https://github.com/lynicidn","followers_url":"https://api.github.com/users/lynicidn/followers","following_url":"https://api.github.com/users/lynicidn/following{/other_user}","gists_url":"https://api.github.com/users/lynicidn/gists{/gist_id}","starred_url":"https://api.github.com/users/lynicidn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lynicidn/subscriptions","organizations_url":"https://api.github.com/users/lynicidn/orgs","repos_url":"https://api.github.com/users/lynicidn/repos","events_url":"https://api.github.com/users/lynicidn/events{/privacy}","received_events_url":"https://api.github.com/users/lynicidn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T22:51:23Z","updated_at":"2015-04-21T08:15:22Z","closed_at":"2015-04-21T08:15:22Z","body":"i think here a bug: https://github.com/yiisoft/yii2/blob/master/framework/db/BaseActiveRecord.php#L1455 ?\r\n\r\nneed:\r\n```php\r\nif ($relatedModel->isRelationPopulated($relationName) && $relatedModel->relatedRecords[$relationName] instanceof self)\r\n```\r\n!is_array //for multiple w/o create active relation"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/94699023","html_url":"https://github.com/yiisoft/yii2/issues/8082#issuecomment-94699023","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/8082","id":94699023,"user":{"login":"klimov-paul","id":1482054,"avatar_url":"https://avatars.githubusercontent.com/u/1482054?v=3","gravatar_id":"","url":"https://api.github.com/users/klimov-paul","html_url":"https://github.com/klimov-paul","followers_url":"https://api.github.com/users/klimov-paul/followers","following_url":"https://api.github.com/users/klimov-paul/following{/other_user}","gists_url":"https://api.github.com/users/klimov-paul/gists{/gist_id}","starred_url":"https://api.github.com/users/klimov-paul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klimov-paul/subscriptions","organizations_url":"https://api.github.com/users/klimov-paul/orgs","repos_url":"https://api.github.com/users/klimov-paul/repos","events_url":"https://api.github.com/users/klimov-paul/events{/privacy}","received_events_url":"https://api.github.com/users/klimov-paul/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T08:15:22Z","updated_at":"2015-04-21T08:15:22Z","body":"I can't see any problem.\r\nIf you have any issue provide the clear way to reproduce it."}}