{"action":"created","issue":{"url":"https://api.github.com/repos/amitaibu/og/issues/120","labels_url":"https://api.github.com/repos/amitaibu/og/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/amitaibu/og/issues/120/comments","events_url":"https://api.github.com/repos/amitaibu/og/issues/120/events","html_url":"https://github.com/amitaibu/og/issues/120","id":124239712,"number":120,"title":"new memberships write wrong group type to table.","user":{"login":"matslats","id":1170956,"avatar_url":"https://avatars.githubusercontent.com/u/1170956?v=3","gravatar_id":"","url":"https://api.github.com/users/matslats","html_url":"https://github.com/matslats","followers_url":"https://api.github.com/users/matslats/followers","following_url":"https://api.github.com/users/matslats/following{/other_user}","gists_url":"https://api.github.com/users/matslats/gists{/gist_id}","starred_url":"https://api.github.com/users/matslats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matslats/subscriptions","organizations_url":"https://api.github.com/users/matslats/orgs","repos_url":"https://api.github.com/users/matslats/repos","events_url":"https://api.github.com/users/matslats/events{/privacy}","received_events_url":"https://api.github.com/users/matslats/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-29T17:08:09Z","updated_at":"2015-12-30T08:48:54Z","closed_at":"2015-12-30T08:48:54Z","body":"in \\Drupal\\og\\Plugin\\Field\\FieldType\\OgMembershipReferenceItemList::\r\nis the line\r\n$membership->setGroupEntityType($this->getFieldDefinition()->getTargetEntityTypeId())\r\nwhich should be    ->setGroupEntityType($this->getFieldDefinition()->getFieldStorageDefinition()->getSetting('target_type'))\r\nor something tidier.\r\nthe meaning of target is different. .the first refers to the entity the field is on, the second refers to the group_type the field refers to"},"comment":{"url":"https://api.github.com/repos/amitaibu/og/issues/comments/167959010","html_url":"https://github.com/amitaibu/og/issues/120#issuecomment-167959010","issue_url":"https://api.github.com/repos/amitaibu/og/issues/120","id":167959010,"user":{"login":"matslats","id":1170956,"avatar_url":"https://avatars.githubusercontent.com/u/1170956?v=3","gravatar_id":"","url":"https://api.github.com/users/matslats","html_url":"https://github.com/matslats","followers_url":"https://api.github.com/users/matslats/followers","following_url":"https://api.github.com/users/matslats/following{/other_user}","gists_url":"https://api.github.com/users/matslats/gists{/gist_id}","starred_url":"https://api.github.com/users/matslats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matslats/subscriptions","organizations_url":"https://api.github.com/users/matslats/orgs","repos_url":"https://api.github.com/users/matslats/repos","events_url":"https://api.github.com/users/matslats/events{/privacy}","received_events_url":"https://api.github.com/users/matslats/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T08:48:54Z","updated_at":"2015-12-30T08:48:54Z","body":"This whole file seems to have been removed.."}}