{"action":"opened","number":651,"pull_request":{"url":"https://api.github.com/repos/contao/core-bundle/pulls/651","id":97813245,"html_url":"https://github.com/contao/core-bundle/pull/651","diff_url":"https://github.com/contao/core-bundle/pull/651.diff","patch_url":"https://github.com/contao/core-bundle/pull/651.patch","issue_url":"https://api.github.com/repos/contao/core-bundle/issues/651","number":651,"state":"open","locked":false,"title":"Ignore the important part if it does not fit","user":{"login":"ausi","id":367169,"avatar_url":"https://avatars.githubusercontent.com/u/367169?v=3","gravatar_id":"","url":"https://api.github.com/users/ausi","html_url":"https://github.com/ausi","followers_url":"https://api.github.com/users/ausi/followers","following_url":"https://api.github.com/users/ausi/following{/other_user}","gists_url":"https://api.github.com/users/ausi/gists{/gist_id}","starred_url":"https://api.github.com/users/ausi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ausi/subscriptions","organizations_url":"https://api.github.com/users/ausi/orgs","repos_url":"https://api.github.com/users/ausi/repos","events_url":"https://api.github.com/users/ausi/events{/privacy}","received_events_url":"https://api.github.com/users/ausi/received_events","type":"User","site_admin":false},"body":"There is a bug if the important part from the database does not fit inside the image dimensions.\r\n\r\nSteps to reproduce:\r\n\r\n1. Add an important part to a large image\r\n2. Replace the image with a much smaller one\r\n3. Open the contao filemanager\r\n\r\nThis results in the `OutOfBoundsException`: *“Crop coordinates must start at minimum 0, 0 position from top left corner, crop height and width must be positive integers and must not exceed the current image borders”*","created_at":"2016-12-13T18:58:33Z","updated_at":"2016-12-13T18:58:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/contao/core-bundle/pulls/651/commits","review_comments_url":"https://api.github.com/repos/contao/core-bundle/pulls/651/comments","review_comment_url":"https://api.github.com/repos/contao/core-bundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/contao/core-bundle/issues/651/comments","statuses_url":"https://api.github.com/repos/contao/core-bundle/statuses/c5fbdc03acc1935f4dc9d9585da6c45b0cfc7da8","head":{"label":"madeyourday:fix/important-part-out-of-bounds","ref":"fix/important-part-out-of-bounds","sha":"c5fbdc03acc1935f4dc9d9585da6c45b0cfc7da8","user":{"login":"madeyourday","id":1526137,"avatar_url":"https://avatars.githubusercontent.com/u/1526137?v=3","gravatar_id":"","url":"https://api.github.com/users/madeyourday","html_url":"https://github.com/madeyourday","followers_url":"https://api.github.com/users/madeyourday/followers","following_url":"https://api.github.com/users/madeyourday/following{/other_user}","gists_url":"https://api.github.com/users/madeyourday/gists{/gist_id}","starred_url":"https://api.github.com/users/madeyourday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madeyourday/subscriptions","organizations_url":"https://api.github.com/users/madeyourday/orgs","repos_url":"https://api.github.com/users/madeyourday/repos","events_url":"https://api.github.com/users/madeyourday/events{/privacy}","received_events_url":"https://api.github.com/users/madeyourday/received_events","type":"Organization","site_admin":false},"repo":{"id":26639051,"name":"contao-core-bundle","full_name":"madeyourday/contao-core-bundle","owner":{"login":"madeyourday","id":1526137,"avatar_url":"https://avatars.githubusercontent.com/u/1526137?v=3","gravatar_id":"","url":"https://api.github.com/users/madeyourday","html_url":"https://github.com/madeyourday","followers_url":"https://api.github.com/users/madeyourday/followers","following_url":"https://api.github.com/users/madeyourday/following{/other_user}","gists_url":"https://api.github.com/users/madeyourday/gists{/gist_id}","starred_url":"https://api.github.com/users/madeyourday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madeyourday/subscriptions","organizations_url":"https://api.github.com/users/madeyourday/orgs","repos_url":"https://api.github.com/users/madeyourday/repos","events_url":"https://api.github.com/users/madeyourday/events{/privacy}","received_events_url":"https://api.github.com/users/madeyourday/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/madeyourday/contao-core-bundle","description":"Contao 4 core bundle","fork":true,"url":"https://api.github.com/repos/madeyourday/contao-core-bundle","forks_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/forks","keys_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/teams","hooks_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/hooks","issue_events_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/events","assignees_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/tags","blobs_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/languages","stargazers_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/stargazers","contributors_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/contributors","subscribers_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/subscribers","subscription_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/subscription","commits_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/merges","archive_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/downloads","issues_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/labels{/name}","releases_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/releases{/id}","deployments_url":"https://api.github.com/repos/madeyourday/contao-core-bundle/deployments","created_at":"2014-11-14T13:10:45Z","updated_at":"2014-12-25T22:38:34Z","pushed_at":"2016-12-13T18:55:43Z","git_url":"git://github.com/madeyourday/contao-core-bundle.git","ssh_url":"git@github.com:madeyourday/contao-core-bundle.git","clone_url":"https://github.com/madeyourday/contao-core-bundle.git","svn_url":"https://github.com/madeyourday/contao-core-bundle","homepage":"","size":29341,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"feature/picture-element"}},"base":{"label":"contao:hotfix/4.3.1","ref":"hotfix/4.3.1","sha":"df3372850190f7f6b4edcdbfdf30412dcee3793a","user":{"login":"contao","id":1206136,"avatar_url":"https://avatars.githubusercontent.com/u/1206136?v=3","gravatar_id":"","url":"https://api.github.com/users/contao","html_url":"https://github.com/contao","followers_url":"https://api.github.com/users/contao/followers","following_url":"https://api.github.com/users/contao/following{/other_user}","gists_url":"https://api.github.com/users/contao/gists{/gist_id}","starred_url":"https://api.github.com/users/contao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contao/subscriptions","organizations_url":"https://api.github.com/users/contao/orgs","repos_url":"https://api.github.com/users/contao/repos","events_url":"https://api.github.com/users/contao/events{/privacy}","received_events_url":"https://api.github.com/users/contao/received_events","type":"Organization","site_admin":false},"repo":{"id":20519851,"name":"core-bundle","full_name":"contao/core-bundle","owner":{"login":"contao","id":1206136,"avatar_url":"https://avatars.githubusercontent.com/u/1206136?v=3","gravatar_id":"","url":"https://api.github.com/users/contao","html_url":"https://github.com/contao","followers_url":"https://api.github.com/users/contao/followers","following_url":"https://api.github.com/users/contao/following{/other_user}","gists_url":"https://api.github.com/users/contao/gists{/gist_id}","starred_url":"https://api.github.com/users/contao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contao/subscriptions","organizations_url":"https://api.github.com/users/contao/orgs","repos_url":"https://api.github.com/users/contao/repos","events_url":"https://api.github.com/users/contao/events{/privacy}","received_events_url":"https://api.github.com/users/contao/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/contao/core-bundle","description":"Contao 4 core bundle","fork":false,"url":"https://api.github.com/repos/contao/core-bundle","forks_url":"https://api.github.com/repos/contao/core-bundle/forks","keys_url":"https://api.github.com/repos/contao/core-bundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contao/core-bundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contao/core-bundle/teams","hooks_url":"https://api.github.com/repos/contao/core-bundle/hooks","issue_events_url":"https://api.github.com/repos/contao/core-bundle/issues/events{/number}","events_url":"https://api.github.com/repos/contao/core-bundle/events","assignees_url":"https://api.github.com/repos/contao/core-bundle/assignees{/user}","branches_url":"https://api.github.com/repos/contao/core-bundle/branches{/branch}","tags_url":"https://api.github.com/repos/contao/core-bundle/tags","blobs_url":"https://api.github.com/repos/contao/core-bundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contao/core-bundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contao/core-bundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/contao/core-bundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contao/core-bundle/statuses/{sha}","languages_url":"https://api.github.com/repos/contao/core-bundle/languages","stargazers_url":"https://api.github.com/repos/contao/core-bundle/stargazers","contributors_url":"https://api.github.com/repos/contao/core-bundle/contributors","subscribers_url":"https://api.github.com/repos/contao/core-bundle/subscribers","subscription_url":"https://api.github.com/repos/contao/core-bundle/subscription","commits_url":"https://api.github.com/repos/contao/core-bundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/contao/core-bundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/contao/core-bundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/contao/core-bundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/contao/core-bundle/contents/{+path}","compare_url":"https://api.github.com/repos/contao/core-bundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contao/core-bundle/merges","archive_url":"https://api.github.com/repos/contao/core-bundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contao/core-bundle/downloads","issues_url":"https://api.github.com/repos/contao/core-bundle/issues{/number}","pulls_url":"https://api.github.com/repos/contao/core-bundle/pulls{/number}","milestones_url":"https://api.github.com/repos/contao/core-bundle/milestones{/number}","notifications_url":"https://api.github.com/repos/contao/core-bundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contao/core-bundle/labels{/name}","releases_url":"https://api.github.com/repos/contao/core-bundle/releases{/id}","deployments_url":"https://api.github.com/repos/contao/core-bundle/deployments","created_at":"2014-06-05T09:45:55Z","updated_at":"2016-12-04T08:29:40Z","pushed_at":"2016-12-13T18:58:34Z","git_url":"git://github.com/contao/core-bundle.git","ssh_url":"git@github.com:contao/core-bundle.git","clone_url":"https://github.com/contao/core-bundle.git","svn_url":"https://github.com/contao/core-bundle","homepage":"","size":30653,"stargazers_count":41,"watchers_count":41,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":52,"forks":22,"open_issues":52,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/contao/core-bundle/pulls/651"},"html":{"href":"https://github.com/contao/core-bundle/pull/651"},"issue":{"href":"https://api.github.com/repos/contao/core-bundle/issues/651"},"comments":{"href":"https://api.github.com/repos/contao/core-bundle/issues/651/comments"},"review_comments":{"href":"https://api.github.com/repos/contao/core-bundle/pulls/651/comments"},"review_comment":{"href":"https://api.github.com/repos/contao/core-bundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/contao/core-bundle/pulls/651/commits"},"statuses":{"href":"https://api.github.com/repos/contao/core-bundle/statuses/c5fbdc03acc1935f4dc9d9585da6c45b0cfc7da8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":6,"changed_files":1}}
{"actor":{"display_login":"ausi"}}