{"action":"created","issue":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/5075","repository_url":"https://api.github.com/repos/Sylius/Sylius","labels_url":"https://api.github.com/repos/Sylius/Sylius/issues/5075/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/5075/comments","events_url":"https://api.github.com/repos/Sylius/Sylius/issues/5075/events","html_url":"https://github.com/Sylius/Sylius/pull/5075","id":155909671,"number":5075,"title":"fix mapped superclass subscribers for overidden resources","user":{"login":"bendavies","id":625392,"avatar_url":"https://avatars.githubusercontent.com/u/625392?v=3","gravatar_id":"","url":"https://api.github.com/users/bendavies","html_url":"https://github.com/bendavies","followers_url":"https://api.github.com/users/bendavies/followers","following_url":"https://api.github.com/users/bendavies/following{/other_user}","gists_url":"https://api.github.com/users/bendavies/gists{/gist_id}","starred_url":"https://api.github.com/users/bendavies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendavies/subscriptions","organizations_url":"https://api.github.com/users/bendavies/orgs","repos_url":"https://api.github.com/users/bendavies/repos","events_url":"https://api.github.com/users/bendavies/events{/privacy}","received_events_url":"https://api.github.com/users/bendavies/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Sylius/Sylius/labels/Bug%20Fix","name":"Bug Fix","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-20T08:19:09Z","updated_at":"2016-06-06T15:24:33Z","closed_at":"2016-05-20T09:29:31Z","pull_request":{"url":"https://api.github.com/repos/Sylius/Sylius/pulls/5075","html_url":"https://github.com/Sylius/Sylius/pull/5075","diff_url":"https://github.com/Sylius/Sylius/pull/5075.diff","patch_url":"https://github.com/Sylius/Sylius/pull/5075.patch"},"body":"| Q               | A\r\n| --------------- | ---\r\n| Bug fix?        | yes\r\n| New feature?    |yes\r\n| BC breaks?      |yes\r\n| Related tickets | fixes #5040 (again)\r\n| License         | MIT\r\n\r\nI think this is correct now.\r\n\r\n1. Convert MappedSuperClass to Entity if the class is the configured Sylius resource.\r\n2. If class is not a MappedSuperClass, move associations  from MappedSuperClass parents, but only if parent is a Sylius entity.\r\n3. If Class is MappedSuperClass, remove associations, but only if class is a Sylius entities.\r\n\r\ncc @liverbool "},"comment":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/comments/223992945","html_url":"https://github.com/Sylius/Sylius/pull/5075#issuecomment-223992945","issue_url":"https://api.github.com/repos/Sylius/Sylius/issues/5075","id":223992945,"user":{"login":"cdaguerre","id":4642448,"avatar_url":"https://avatars.githubusercontent.com/u/4642448?v=3","gravatar_id":"","url":"https://api.github.com/users/cdaguerre","html_url":"https://github.com/cdaguerre","followers_url":"https://api.github.com/users/cdaguerre/followers","following_url":"https://api.github.com/users/cdaguerre/following{/other_user}","gists_url":"https://api.github.com/users/cdaguerre/gists{/gist_id}","starred_url":"https://api.github.com/users/cdaguerre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdaguerre/subscriptions","organizations_url":"https://api.github.com/users/cdaguerre/orgs","repos_url":"https://api.github.com/users/cdaguerre/repos","events_url":"https://api.github.com/users/cdaguerre/events{/privacy}","received_events_url":"https://api.github.com/users/cdaguerre/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T15:24:33Z","updated_at":"2016-06-06T15:24:33Z","body":"I'm just not sure about the right way to do it...\r\nWe could also enhance the resource registry to let it answer this question.\r\nLet's hear what @pjedrzejewski thinks ;)"}}
{"actor":{"display_login":"cdaguerre"}}