{"action":"opened","number":5978,"pull_request":{"url":"https://api.github.com/repos/magento/magento2/pulls/5978","id":80031479,"html_url":"https://github.com/magento/magento2/pull/5978","diff_url":"https://github.com/magento/magento2/pull/5978.diff","patch_url":"https://github.com/magento/magento2/pull/5978.patch","issue_url":"https://api.github.com/repos/magento/magento2/issues/5978","number":5978,"state":"open","locked":false,"title":"Change category image attribute implementation to work with any attribute code","user":{"login":"allanpaiste","id":3738135,"avatar_url":"https://avatars.githubusercontent.com/u/3738135?v=3","gravatar_id":"","url":"https://api.github.com/users/allanpaiste","html_url":"https://github.com/allanpaiste","followers_url":"https://api.github.com/users/allanpaiste/followers","following_url":"https://api.github.com/users/allanpaiste/following{/other_user}","gists_url":"https://api.github.com/users/allanpaiste/gists{/gist_id}","starred_url":"https://api.github.com/users/allanpaiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanpaiste/subscriptions","organizations_url":"https://api.github.com/users/allanpaiste/orgs","repos_url":"https://api.github.com/users/allanpaiste/repos","events_url":"https://api.github.com/users/allanpaiste/events{/privacy}","received_events_url":"https://api.github.com/users/allanpaiste/received_events","type":"User","site_admin":false},"body":"Currently it's not possible to create an 'image' EAV attribute for category as the code in many places has been hardcoded to talk only with attribute that is explicitly been named 'image'.\r\n\r\nThis PR addresses that problem by steering the code towards more generic approach to the whole situation by detecting all matching attributes via backendModel check.\r\n\r\nRelated issue: https://github.com/magento/magento2/issues/5438","created_at":"2016-08-04T07:36:47Z","updated_at":"2016-08-04T07:36:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/magento/magento2/pulls/5978/commits","review_comments_url":"https://api.github.com/repos/magento/magento2/pulls/5978/comments","review_comment_url":"https://api.github.com/repos/magento/magento2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/magento/magento2/issues/5978/comments","statuses_url":"https://api.github.com/repos/magento/magento2/statuses/70d3468b24ffbbd4233123c8d60916a440975b39","head":{"label":"allanpaiste:fix/image-type-category-eav-attribute","ref":"fix/image-type-category-eav-attribute","sha":"70d3468b24ffbbd4233123c8d60916a440975b39","user":{"login":"allanpaiste","id":3738135,"avatar_url":"https://avatars.githubusercontent.com/u/3738135?v=3","gravatar_id":"","url":"https://api.github.com/users/allanpaiste","html_url":"https://github.com/allanpaiste","followers_url":"https://api.github.com/users/allanpaiste/followers","following_url":"https://api.github.com/users/allanpaiste/following{/other_user}","gists_url":"https://api.github.com/users/allanpaiste/gists{/gist_id}","starred_url":"https://api.github.com/users/allanpaiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanpaiste/subscriptions","organizations_url":"https://api.github.com/users/allanpaiste/orgs","repos_url":"https://api.github.com/users/allanpaiste/repos","events_url":"https://api.github.com/users/allanpaiste/events{/privacy}","received_events_url":"https://api.github.com/users/allanpaiste/received_events","type":"User","site_admin":false},"repo":{"id":64912437,"name":"magento2","full_name":"allanpaiste/magento2","owner":{"login":"allanpaiste","id":3738135,"avatar_url":"https://avatars.githubusercontent.com/u/3738135?v=3","gravatar_id":"","url":"https://api.github.com/users/allanpaiste","html_url":"https://github.com/allanpaiste","followers_url":"https://api.github.com/users/allanpaiste/followers","following_url":"https://api.github.com/users/allanpaiste/following{/other_user}","gists_url":"https://api.github.com/users/allanpaiste/gists{/gist_id}","starred_url":"https://api.github.com/users/allanpaiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanpaiste/subscriptions","organizations_url":"https://api.github.com/users/allanpaiste/orgs","repos_url":"https://api.github.com/users/allanpaiste/repos","events_url":"https://api.github.com/users/allanpaiste/events{/privacy}","received_events_url":"https://api.github.com/users/allanpaiste/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/allanpaiste/magento2","description":"All Submissions you make to Magento Inc. (“Magento\") through GitHub are subject to the following terms and conditions: (1) You grant Magento a perpetual, worldwide, non-exclusive, no charge, royalty free, irrevocable license under your applicable copyrights and patents to reproduce, prepare derivative works of, display, publically perform, sublicense and distribute any feedback, ideas, code, or other information (“Submission\") you submit through GitHub. (2) Your Submission is an original work of authorship and you are the owner or are legally entitled to grant the license stated above. (3) You agree to the Contributor License Agreement found here:  https://github.com/magento/magento2/blob/master/CONTRIBUTOR_LICENSE_AGREEMENT.html","fork":true,"url":"https://api.github.com/repos/allanpaiste/magento2","forks_url":"https://api.github.com/repos/allanpaiste/magento2/forks","keys_url":"https://api.github.com/repos/allanpaiste/magento2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allanpaiste/magento2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allanpaiste/magento2/teams","hooks_url":"https://api.github.com/repos/allanpaiste/magento2/hooks","issue_events_url":"https://api.github.com/repos/allanpaiste/magento2/issues/events{/number}","events_url":"https://api.github.com/repos/allanpaiste/magento2/events","assignees_url":"https://api.github.com/repos/allanpaiste/magento2/assignees{/user}","branches_url":"https://api.github.com/repos/allanpaiste/magento2/branches{/branch}","tags_url":"https://api.github.com/repos/allanpaiste/magento2/tags","blobs_url":"https://api.github.com/repos/allanpaiste/magento2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allanpaiste/magento2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allanpaiste/magento2/git/refs{/sha}","trees_url":"https://api.github.com/repos/allanpaiste/magento2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allanpaiste/magento2/statuses/{sha}","languages_url":"https://api.github.com/repos/allanpaiste/magento2/languages","stargazers_url":"https://api.github.com/repos/allanpaiste/magento2/stargazers","contributors_url":"https://api.github.com/repos/allanpaiste/magento2/contributors","subscribers_url":"https://api.github.com/repos/allanpaiste/magento2/subscribers","subscription_url":"https://api.github.com/repos/allanpaiste/magento2/subscription","commits_url":"https://api.github.com/repos/allanpaiste/magento2/commits{/sha}","git_commits_url":"https://api.github.com/repos/allanpaiste/magento2/git/commits{/sha}","comments_url":"https://api.github.com/repos/allanpaiste/magento2/comments{/number}","issue_comment_url":"https://api.github.com/repos/allanpaiste/magento2/issues/comments{/number}","contents_url":"https://api.github.com/repos/allanpaiste/magento2/contents/{+path}","compare_url":"https://api.github.com/repos/allanpaiste/magento2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allanpaiste/magento2/merges","archive_url":"https://api.github.com/repos/allanpaiste/magento2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allanpaiste/magento2/downloads","issues_url":"https://api.github.com/repos/allanpaiste/magento2/issues{/number}","pulls_url":"https://api.github.com/repos/allanpaiste/magento2/pulls{/number}","milestones_url":"https://api.github.com/repos/allanpaiste/magento2/milestones{/number}","notifications_url":"https://api.github.com/repos/allanpaiste/magento2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allanpaiste/magento2/labels{/name}","releases_url":"https://api.github.com/repos/allanpaiste/magento2/releases{/id}","deployments_url":"https://api.github.com/repos/allanpaiste/magento2/deployments","created_at":"2016-08-04T07:26:43Z","updated_at":"2016-08-04T07:27:34Z","pushed_at":"2016-08-04T07:35:31Z","git_url":"git://github.com/allanpaiste/magento2.git","ssh_url":"git@github.com:allanpaiste/magento2.git","clone_url":"https://github.com/allanpaiste/magento2.git","svn_url":"https://github.com/allanpaiste/magento2","homepage":"http://www.magento.com","size":459819,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"magento:develop","ref":"develop","sha":"f2d309a88298886460351c04973a4ff95c7a91c0","user":{"login":"magento","id":168457,"avatar_url":"https://avatars.githubusercontent.com/u/168457?v=3","gravatar_id":"","url":"https://api.github.com/users/magento","html_url":"https://github.com/magento","followers_url":"https://api.github.com/users/magento/followers","following_url":"https://api.github.com/users/magento/following{/other_user}","gists_url":"https://api.github.com/users/magento/gists{/gist_id}","starred_url":"https://api.github.com/users/magento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento/subscriptions","organizations_url":"https://api.github.com/users/magento/orgs","repos_url":"https://api.github.com/users/magento/repos","events_url":"https://api.github.com/users/magento/events{/privacy}","received_events_url":"https://api.github.com/users/magento/received_events","type":"Organization","site_admin":false},"repo":{"id":2884111,"name":"magento2","full_name":"magento/magento2","owner":{"login":"magento","id":168457,"avatar_url":"https://avatars.githubusercontent.com/u/168457?v=3","gravatar_id":"","url":"https://api.github.com/users/magento","html_url":"https://github.com/magento","followers_url":"https://api.github.com/users/magento/followers","following_url":"https://api.github.com/users/magento/following{/other_user}","gists_url":"https://api.github.com/users/magento/gists{/gist_id}","starred_url":"https://api.github.com/users/magento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magento/subscriptions","organizations_url":"https://api.github.com/users/magento/orgs","repos_url":"https://api.github.com/users/magento/repos","events_url":"https://api.github.com/users/magento/events{/privacy}","received_events_url":"https://api.github.com/users/magento/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/magento/magento2","description":"All Submissions you make to Magento Inc. (“Magento\") through GitHub are subject to the following terms and conditions: (1) You grant Magento a perpetual, worldwide, non-exclusive, no charge, royalty free, irrevocable license under your applicable copyrights and patents to reproduce, prepare derivative works of, display, publically perform, sublicense and distribute any feedback, ideas, code, or other information (“Submission\") you submit through GitHub. (2) Your Submission is an original work of authorship and you are the owner or are legally entitled to grant the license stated above. (3) You agree to the Contributor License Agreement found here:  https://github.com/magento/magento2/blob/master/CONTRIBUTOR_LICENSE_AGREEMENT.html","fork":false,"url":"https://api.github.com/repos/magento/magento2","forks_url":"https://api.github.com/repos/magento/magento2/forks","keys_url":"https://api.github.com/repos/magento/magento2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magento/magento2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magento/magento2/teams","hooks_url":"https://api.github.com/repos/magento/magento2/hooks","issue_events_url":"https://api.github.com/repos/magento/magento2/issues/events{/number}","events_url":"https://api.github.com/repos/magento/magento2/events","assignees_url":"https://api.github.com/repos/magento/magento2/assignees{/user}","branches_url":"https://api.github.com/repos/magento/magento2/branches{/branch}","tags_url":"https://api.github.com/repos/magento/magento2/tags","blobs_url":"https://api.github.com/repos/magento/magento2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magento/magento2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magento/magento2/git/refs{/sha}","trees_url":"https://api.github.com/repos/magento/magento2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magento/magento2/statuses/{sha}","languages_url":"https://api.github.com/repos/magento/magento2/languages","stargazers_url":"https://api.github.com/repos/magento/magento2/stargazers","contributors_url":"https://api.github.com/repos/magento/magento2/contributors","subscribers_url":"https://api.github.com/repos/magento/magento2/subscribers","subscription_url":"https://api.github.com/repos/magento/magento2/subscription","commits_url":"https://api.github.com/repos/magento/magento2/commits{/sha}","git_commits_url":"https://api.github.com/repos/magento/magento2/git/commits{/sha}","comments_url":"https://api.github.com/repos/magento/magento2/comments{/number}","issue_comment_url":"https://api.github.com/repos/magento/magento2/issues/comments{/number}","contents_url":"https://api.github.com/repos/magento/magento2/contents/{+path}","compare_url":"https://api.github.com/repos/magento/magento2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magento/magento2/merges","archive_url":"https://api.github.com/repos/magento/magento2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magento/magento2/downloads","issues_url":"https://api.github.com/repos/magento/magento2/issues{/number}","pulls_url":"https://api.github.com/repos/magento/magento2/pulls{/number}","milestones_url":"https://api.github.com/repos/magento/magento2/milestones{/number}","notifications_url":"https://api.github.com/repos/magento/magento2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magento/magento2/labels{/name}","releases_url":"https://api.github.com/repos/magento/magento2/releases{/id}","deployments_url":"https://api.github.com/repos/magento/magento2/deployments","created_at":"2011-11-30T15:30:13Z","updated_at":"2016-08-04T00:45:11Z","pushed_at":"2016-08-04T07:36:47Z","git_url":"git://github.com/magento/magento2.git","ssh_url":"git@github.com:magento/magento2.git","clone_url":"https://github.com/magento/magento2.git","svn_url":"https://github.com/magento/magento2","homepage":"http://www.magento.com","size":459819,"stargazers_count":3625,"watchers_count":3625,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2515,"mirror_url":null,"open_issues_count":1800,"forks":2515,"open_issues":1800,"watchers":3625,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/magento/magento2/pulls/5978"},"html":{"href":"https://github.com/magento/magento2/pull/5978"},"issue":{"href":"https://api.github.com/repos/magento/magento2/issues/5978"},"comments":{"href":"https://api.github.com/repos/magento/magento2/issues/5978/comments"},"review_comments":{"href":"https://api.github.com/repos/magento/magento2/pulls/5978/comments"},"review_comment":{"href":"https://api.github.com/repos/magento/magento2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/magento/magento2/pulls/5978/commits"},"statuses":{"href":"https://api.github.com/repos/magento/magento2/statuses/70d3468b24ffbbd4233123c8d60916a440975b39"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":115,"deletions":63,"changed_files":6}}
{"actor":{"display_login":"allanpaiste"}}