{"action":"created","issue":{"url":"https://api.github.com/repos/Mirocow/yii2-eav/issues/65","repository_url":"https://api.github.com/repos/Mirocow/yii2-eav","labels_url":"https://api.github.com/repos/Mirocow/yii2-eav/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/Mirocow/yii2-eav/issues/65/comments","events_url":"https://api.github.com/repos/Mirocow/yii2-eav/issues/65/events","html_url":"https://github.com/Mirocow/yii2-eav/issues/65","id":172657633,"number":65,"title":"Getting unknown property: mirocow\\eav\\models\\EavAttribute::entityModel","user":{"login":"webadequate","id":1946769,"avatar_url":"https://avatars.githubusercontent.com/u/1946769?v=3","gravatar_id":"","url":"https://api.github.com/users/webadequate","html_url":"https://github.com/webadequate","followers_url":"https://api.github.com/users/webadequate/followers","following_url":"https://api.github.com/users/webadequate/following{/other_user}","gists_url":"https://api.github.com/users/webadequate/gists{/gist_id}","starred_url":"https://api.github.com/users/webadequate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webadequate/subscriptions","organizations_url":"https://api.github.com/users/webadequate/orgs","repos_url":"https://api.github.com/users/webadequate/repos","events_url":"https://api.github.com/users/webadequate/events{/privacy}","received_events_url":"https://api.github.com/users/webadequate/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-23T09:54:58Z","updated_at":"2016-08-25T19:45:00Z","closed_at":null,"body":"Приветствую.\r\nСкачал через composer, накатил миграции.\r\nПытаюсь сделать по мануалу:\r\n\r\n```\r\n        $attr = new EavAttribute;\r\n        $attr->attributes = [\r\n          'entityId' => 1, // Category ID\r\n          'name' => 'AttrCategory1',  // service name field\r\n          'label' => 'Attr1',         // label text for form\r\n          'defaultValue' => 'attr1',  // default value\r\n          'entityModel' => Products::className(), // work model\r\n          'required'=>false           // add rule \"required field\"\r\n        ];\r\n        $attr->save();\r\n```\r\nПолучаю:\r\n\r\n> Unknown Property – yii\\base\\UnknownPropertyException\r\n> Getting unknown property: mirocow\\eav\\models\\EavAttribute::entityModel\r\nВ базе в таблице **eav_attribute** действительно нет такого поля"},"comment":{"url":"https://api.github.com/repos/Mirocow/yii2-eav/issues/comments/242513047","html_url":"https://github.com/Mirocow/yii2-eav/issues/65#issuecomment-242513047","issue_url":"https://api.github.com/repos/Mirocow/yii2-eav/issues/65","id":242513047,"user":{"login":"webadequate","id":1946769,"avatar_url":"https://avatars.githubusercontent.com/u/1946769?v=3","gravatar_id":"","url":"https://api.github.com/users/webadequate","html_url":"https://github.com/webadequate","followers_url":"https://api.github.com/users/webadequate/followers","following_url":"https://api.github.com/users/webadequate/following{/other_user}","gists_url":"https://api.github.com/users/webadequate/gists{/gist_id}","starred_url":"https://api.github.com/users/webadequate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webadequate/subscriptions","organizations_url":"https://api.github.com/users/webadequate/orgs","repos_url":"https://api.github.com/users/webadequate/repos","events_url":"https://api.github.com/users/webadequate/events{/privacy}","received_events_url":"https://api.github.com/users/webadequate/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T19:45:00Z","updated_at":"2016-08-25T19:45:00Z","body":"Это скачалось через композер :)"}}
{"actor":{"display_login":"webadequate"}}