{"action":"reopened","number":1157,"pull_request":{"url":"https://api.github.com/repos/NuCivic/dkan/pulls/1157","id":71627492,"html_url":"https://github.com/NuCivic/dkan/pull/1157","diff_url":"https://github.com/NuCivic/dkan/pull/1157.diff","patch_url":"https://github.com/NuCivic/dkan/pull/1157.patch","issue_url":"https://api.github.com/repos/NuCivic/dkan/issues/1157","number":1157,"state":"open","locked":false,"title":"Fix undefined mime type issue","user":{"login":"topicus","id":381224,"avatar_url":"https://avatars.githubusercontent.com/u/381224?v=3","gravatar_id":"","url":"https://api.github.com/users/topicus","html_url":"https://github.com/topicus","followers_url":"https://api.github.com/users/topicus/followers","following_url":"https://api.github.com/users/topicus/following{/other_user}","gists_url":"https://api.github.com/users/topicus/gists{/gist_id}","starred_url":"https://api.github.com/users/topicus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topicus/subscriptions","organizations_url":"https://api.github.com/users/topicus/orgs","repos_url":"https://api.github.com/users/topicus/repos","events_url":"https://api.github.com/users/topicus/events{/privacy}","received_events_url":"https://api.github.com/users/topicus/received_events","type":"User","site_admin":false},"body":"Issue: https://github.com/NuCivic/dkan/issues/1047\r\n\r\n## Description\r\nRemote file source were causing issues trying to get the mime type from remote resources.\r\n\r\n## Acceptance criteria\r\n- [ ] Visit a DKAN dataset, or create a new one.\r\n- [ ] Click the \"Add resource\" tab.\r\n- [ ] Select \"Link to a file\" and enter a URL such as this to field_link_remote_file: http://www.gov.scot/Resource/0049/00498256.pdf\r\n- [ ] Fill in the rest of the Add Resource form, and click the Save button.\r\n- [ ] You should not see the PHP notice.\r\n\r\n## PR dependencies\r\nhttps://github.com/NuCivic/dkan_dataset/pull/230\r\nhttps://github.com/NuCivic/dkan_datastore/pull/65\r\n","created_at":"2016-05-26T21:27:49Z","updated_at":"2016-05-27T16:49:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a86de5df303005ec905723448b0e6fa8d93ae0d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NuCivic/dkan/pulls/1157/commits","review_comments_url":"https://api.github.com/repos/NuCivic/dkan/pulls/1157/comments","review_comment_url":"https://api.github.com/repos/NuCivic/dkan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NuCivic/dkan/issues/1157/comments","statuses_url":"https://api.github.com/repos/NuCivic/dkan/statuses/7e58426837e626a0e7a040bb0f1bc2119fb9f1ed","head":{"label":"NuCivic:undefined_mime_type","ref":"undefined_mime_type","sha":"7e58426837e626a0e7a040bb0f1bc2119fb9f1ed","user":{"login":"NuCivic","id":7472183,"avatar_url":"https://avatars.githubusercontent.com/u/7472183?v=3","gravatar_id":"","url":"https://api.github.com/users/NuCivic","html_url":"https://github.com/NuCivic","followers_url":"https://api.github.com/users/NuCivic/followers","following_url":"https://api.github.com/users/NuCivic/following{/other_user}","gists_url":"https://api.github.com/users/NuCivic/gists{/gist_id}","starred_url":"https://api.github.com/users/NuCivic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuCivic/subscriptions","organizations_url":"https://api.github.com/users/NuCivic/orgs","repos_url":"https://api.github.com/users/NuCivic/repos","events_url":"https://api.github.com/users/NuCivic/events{/privacy}","received_events_url":"https://api.github.com/users/NuCivic/received_events","type":"Organization","site_admin":false},"repo":{"id":9308581,"name":"dkan","full_name":"NuCivic/dkan","owner":{"login":"NuCivic","id":7472183,"avatar_url":"https://avatars.githubusercontent.com/u/7472183?v=3","gravatar_id":"","url":"https://api.github.com/users/NuCivic","html_url":"https://github.com/NuCivic","followers_url":"https://api.github.com/users/NuCivic/followers","following_url":"https://api.github.com/users/NuCivic/following{/other_user}","gists_url":"https://api.github.com/users/NuCivic/gists{/gist_id}","starred_url":"https://api.github.com/users/NuCivic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuCivic/subscriptions","organizations_url":"https://api.github.com/users/NuCivic/orgs","repos_url":"https://api.github.com/users/NuCivic/repos","events_url":"https://api.github.com/users/NuCivic/events{/privacy}","received_events_url":"https://api.github.com/users/NuCivic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NuCivic/dkan","description":"DKAN Open Data Portal. For a fully made version see: http://github.com/nucivic/dkan-drops-7","fork":false,"url":"https://api.github.com/repos/NuCivic/dkan","forks_url":"https://api.github.com/repos/NuCivic/dkan/forks","keys_url":"https://api.github.com/repos/NuCivic/dkan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuCivic/dkan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuCivic/dkan/teams","hooks_url":"https://api.github.com/repos/NuCivic/dkan/hooks","issue_events_url":"https://api.github.com/repos/NuCivic/dkan/issues/events{/number}","events_url":"https://api.github.com/repos/NuCivic/dkan/events","assignees_url":"https://api.github.com/repos/NuCivic/dkan/assignees{/user}","branches_url":"https://api.github.com/repos/NuCivic/dkan/branches{/branch}","tags_url":"https://api.github.com/repos/NuCivic/dkan/tags","blobs_url":"https://api.github.com/repos/NuCivic/dkan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuCivic/dkan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuCivic/dkan/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuCivic/dkan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuCivic/dkan/statuses/{sha}","languages_url":"https://api.github.com/repos/NuCivic/dkan/languages","stargazers_url":"https://api.github.com/repos/NuCivic/dkan/stargazers","contributors_url":"https://api.github.com/repos/NuCivic/dkan/contributors","subscribers_url":"https://api.github.com/repos/NuCivic/dkan/subscribers","subscription_url":"https://api.github.com/repos/NuCivic/dkan/subscription","commits_url":"https://api.github.com/repos/NuCivic/dkan/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuCivic/dkan/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuCivic/dkan/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuCivic/dkan/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuCivic/dkan/contents/{+path}","compare_url":"https://api.github.com/repos/NuCivic/dkan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuCivic/dkan/merges","archive_url":"https://api.github.com/repos/NuCivic/dkan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuCivic/dkan/downloads","issues_url":"https://api.github.com/repos/NuCivic/dkan/issues{/number}","pulls_url":"https://api.github.com/repos/NuCivic/dkan/pulls{/number}","milestones_url":"https://api.github.com/repos/NuCivic/dkan/milestones{/number}","notifications_url":"https://api.github.com/repos/NuCivic/dkan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuCivic/dkan/labels{/name}","releases_url":"https://api.github.com/repos/NuCivic/dkan/releases{/id}","deployments_url":"https://api.github.com/repos/NuCivic/dkan/deployments","created_at":"2013-04-08T22:54:12Z","updated_at":"2016-05-25T23:15:07Z","pushed_at":"2016-05-27T16:33:48Z","git_url":"git://github.com/NuCivic/dkan.git","ssh_url":"git@github.com:NuCivic/dkan.git","clone_url":"https://github.com/NuCivic/dkan.git","svn_url":"https://github.com/NuCivic/dkan","homepage":"","size":84041,"stargazers_count":121,"watchers_count":121,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":301,"forks":62,"open_issues":301,"watchers":121,"default_branch":"7.x-1.x"}},"base":{"label":"NuCivic:7.x-1.x","ref":"7.x-1.x","sha":"db910a3bcd012f0caadbb2716cca38cae6fea726","user":{"login":"NuCivic","id":7472183,"avatar_url":"https://avatars.githubusercontent.com/u/7472183?v=3","gravatar_id":"","url":"https://api.github.com/users/NuCivic","html_url":"https://github.com/NuCivic","followers_url":"https://api.github.com/users/NuCivic/followers","following_url":"https://api.github.com/users/NuCivic/following{/other_user}","gists_url":"https://api.github.com/users/NuCivic/gists{/gist_id}","starred_url":"https://api.github.com/users/NuCivic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuCivic/subscriptions","organizations_url":"https://api.github.com/users/NuCivic/orgs","repos_url":"https://api.github.com/users/NuCivic/repos","events_url":"https://api.github.com/users/NuCivic/events{/privacy}","received_events_url":"https://api.github.com/users/NuCivic/received_events","type":"Organization","site_admin":false},"repo":{"id":9308581,"name":"dkan","full_name":"NuCivic/dkan","owner":{"login":"NuCivic","id":7472183,"avatar_url":"https://avatars.githubusercontent.com/u/7472183?v=3","gravatar_id":"","url":"https://api.github.com/users/NuCivic","html_url":"https://github.com/NuCivic","followers_url":"https://api.github.com/users/NuCivic/followers","following_url":"https://api.github.com/users/NuCivic/following{/other_user}","gists_url":"https://api.github.com/users/NuCivic/gists{/gist_id}","starred_url":"https://api.github.com/users/NuCivic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NuCivic/subscriptions","organizations_url":"https://api.github.com/users/NuCivic/orgs","repos_url":"https://api.github.com/users/NuCivic/repos","events_url":"https://api.github.com/users/NuCivic/events{/privacy}","received_events_url":"https://api.github.com/users/NuCivic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NuCivic/dkan","description":"DKAN Open Data Portal. For a fully made version see: http://github.com/nucivic/dkan-drops-7","fork":false,"url":"https://api.github.com/repos/NuCivic/dkan","forks_url":"https://api.github.com/repos/NuCivic/dkan/forks","keys_url":"https://api.github.com/repos/NuCivic/dkan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NuCivic/dkan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NuCivic/dkan/teams","hooks_url":"https://api.github.com/repos/NuCivic/dkan/hooks","issue_events_url":"https://api.github.com/repos/NuCivic/dkan/issues/events{/number}","events_url":"https://api.github.com/repos/NuCivic/dkan/events","assignees_url":"https://api.github.com/repos/NuCivic/dkan/assignees{/user}","branches_url":"https://api.github.com/repos/NuCivic/dkan/branches{/branch}","tags_url":"https://api.github.com/repos/NuCivic/dkan/tags","blobs_url":"https://api.github.com/repos/NuCivic/dkan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NuCivic/dkan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NuCivic/dkan/git/refs{/sha}","trees_url":"https://api.github.com/repos/NuCivic/dkan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NuCivic/dkan/statuses/{sha}","languages_url":"https://api.github.com/repos/NuCivic/dkan/languages","stargazers_url":"https://api.github.com/repos/NuCivic/dkan/stargazers","contributors_url":"https://api.github.com/repos/NuCivic/dkan/contributors","subscribers_url":"https://api.github.com/repos/NuCivic/dkan/subscribers","subscription_url":"https://api.github.com/repos/NuCivic/dkan/subscription","commits_url":"https://api.github.com/repos/NuCivic/dkan/commits{/sha}","git_commits_url":"https://api.github.com/repos/NuCivic/dkan/git/commits{/sha}","comments_url":"https://api.github.com/repos/NuCivic/dkan/comments{/number}","issue_comment_url":"https://api.github.com/repos/NuCivic/dkan/issues/comments{/number}","contents_url":"https://api.github.com/repos/NuCivic/dkan/contents/{+path}","compare_url":"https://api.github.com/repos/NuCivic/dkan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NuCivic/dkan/merges","archive_url":"https://api.github.com/repos/NuCivic/dkan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NuCivic/dkan/downloads","issues_url":"https://api.github.com/repos/NuCivic/dkan/issues{/number}","pulls_url":"https://api.github.com/repos/NuCivic/dkan/pulls{/number}","milestones_url":"https://api.github.com/repos/NuCivic/dkan/milestones{/number}","notifications_url":"https://api.github.com/repos/NuCivic/dkan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NuCivic/dkan/labels{/name}","releases_url":"https://api.github.com/repos/NuCivic/dkan/releases{/id}","deployments_url":"https://api.github.com/repos/NuCivic/dkan/deployments","created_at":"2013-04-08T22:54:12Z","updated_at":"2016-05-25T23:15:07Z","pushed_at":"2016-05-27T16:33:48Z","git_url":"git://github.com/NuCivic/dkan.git","ssh_url":"git@github.com:NuCivic/dkan.git","clone_url":"https://github.com/NuCivic/dkan.git","svn_url":"https://github.com/NuCivic/dkan","homepage":"","size":84041,"stargazers_count":121,"watchers_count":121,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":301,"forks":62,"open_issues":301,"watchers":121,"default_branch":"7.x-1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/NuCivic/dkan/pulls/1157"},"html":{"href":"https://github.com/NuCivic/dkan/pull/1157"},"issue":{"href":"https://api.github.com/repos/NuCivic/dkan/issues/1157"},"comments":{"href":"https://api.github.com/repos/NuCivic/dkan/issues/1157/comments"},"review_comments":{"href":"https://api.github.com/repos/NuCivic/dkan/pulls/1157/comments"},"review_comment":{"href":"https://api.github.com/repos/NuCivic/dkan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NuCivic/dkan/pulls/1157/commits"},"statuses":{"href":"https://api.github.com/repos/NuCivic/dkan/statuses/7e58426837e626a0e7a040bb0f1bc2119fb9f1ed"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"topicus"}}