{"action":"opened","number":1776,"pull_request":{"url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1776","id":66728293,"html_url":"https://github.com/openmrs/openmrs-core/pull/1776","diff_url":"https://github.com/openmrs/openmrs-core/pull/1776.diff","patch_url":"https://github.com/openmrs/openmrs-core/pull/1776.patch","issue_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/1776","number":1776,"state":"open","locked":false,"title":"TRUNK-4858 startModule method should not throw ModuleExeception","user":{"login":"astorga2","id":8422829,"avatar_url":"https://avatars.githubusercontent.com/u/8422829?v=3","gravatar_id":"","url":"https://api.github.com/users/astorga2","html_url":"https://github.com/astorga2","followers_url":"https://api.github.com/users/astorga2/followers","following_url":"https://api.github.com/users/astorga2/following{/other_user}","gists_url":"https://api.github.com/users/astorga2/gists{/gist_id}","starred_url":"https://api.github.com/users/astorga2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astorga2/subscriptions","organizations_url":"https://api.github.com/users/astorga2/orgs","repos_url":"https://api.github.com/users/astorga2/repos","events_url":"https://api.github.com/users/astorga2/events{/privacy}","received_events_url":"https://api.github.com/users/astorga2/received_events","type":"User","site_admin":false},"body":"Class: web/src/main/java/org/openmrs/module/web/WebModuleUtil.java\r\nmethod: startModule(Module mod, ServletContext servletContext, boolean delayContextRefresh)\r\nWhen String realPath = getrealPath(servletContext) return a directory name containing spaces, startModule method should not throw ModuleException\r\nwhen a directory name contains a whitespace line 251 (inputStream = new FileInputStream(f) throws FileNotFoundException then a ModuleException is thrown.\r\nstartModule should not fail simply because there is a whitespace in the directory name.\r\nsee pull request with unit test that causes failure:","created_at":"2016-04-16T05:10:43Z","updated_at":"2016-04-16T05:10:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1776/commits","review_comments_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1776/comments","review_comment_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/1776/comments","statuses_url":"https://api.github.com/repos/openmrs/openmrs-core/statuses/3bd568cd084b6436230c412385fac243c728b690","head":{"label":"astorga2:TRUNK-4858","ref":"TRUNK-4858","sha":"3bd568cd084b6436230c412385fac243c728b690","user":{"login":"astorga2","id":8422829,"avatar_url":"https://avatars.githubusercontent.com/u/8422829?v=3","gravatar_id":"","url":"https://api.github.com/users/astorga2","html_url":"https://github.com/astorga2","followers_url":"https://api.github.com/users/astorga2/followers","following_url":"https://api.github.com/users/astorga2/following{/other_user}","gists_url":"https://api.github.com/users/astorga2/gists{/gist_id}","starred_url":"https://api.github.com/users/astorga2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astorga2/subscriptions","organizations_url":"https://api.github.com/users/astorga2/orgs","repos_url":"https://api.github.com/users/astorga2/repos","events_url":"https://api.github.com/users/astorga2/events{/privacy}","received_events_url":"https://api.github.com/users/astorga2/received_events","type":"User","site_admin":false},"repo":{"id":56212755,"name":"openmrs-core","full_name":"astorga2/openmrs-core","owner":{"login":"astorga2","id":8422829,"avatar_url":"https://avatars.githubusercontent.com/u/8422829?v=3","gravatar_id":"","url":"https://api.github.com/users/astorga2","html_url":"https://github.com/astorga2","followers_url":"https://api.github.com/users/astorga2/followers","following_url":"https://api.github.com/users/astorga2/following{/other_user}","gists_url":"https://api.github.com/users/astorga2/gists{/gist_id}","starred_url":"https://api.github.com/users/astorga2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astorga2/subscriptions","organizations_url":"https://api.github.com/users/astorga2/orgs","repos_url":"https://api.github.com/users/astorga2/repos","events_url":"https://api.github.com/users/astorga2/events{/privacy}","received_events_url":"https://api.github.com/users/astorga2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/astorga2/openmrs-core","description":"OpenMRS API and web application code","fork":true,"url":"https://api.github.com/repos/astorga2/openmrs-core","forks_url":"https://api.github.com/repos/astorga2/openmrs-core/forks","keys_url":"https://api.github.com/repos/astorga2/openmrs-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/astorga2/openmrs-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/astorga2/openmrs-core/teams","hooks_url":"https://api.github.com/repos/astorga2/openmrs-core/hooks","issue_events_url":"https://api.github.com/repos/astorga2/openmrs-core/issues/events{/number}","events_url":"https://api.github.com/repos/astorga2/openmrs-core/events","assignees_url":"https://api.github.com/repos/astorga2/openmrs-core/assignees{/user}","branches_url":"https://api.github.com/repos/astorga2/openmrs-core/branches{/branch}","tags_url":"https://api.github.com/repos/astorga2/openmrs-core/tags","blobs_url":"https://api.github.com/repos/astorga2/openmrs-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/astorga2/openmrs-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/astorga2/openmrs-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/astorga2/openmrs-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/astorga2/openmrs-core/statuses/{sha}","languages_url":"https://api.github.com/repos/astorga2/openmrs-core/languages","stargazers_url":"https://api.github.com/repos/astorga2/openmrs-core/stargazers","contributors_url":"https://api.github.com/repos/astorga2/openmrs-core/contributors","subscribers_url":"https://api.github.com/repos/astorga2/openmrs-core/subscribers","subscription_url":"https://api.github.com/repos/astorga2/openmrs-core/subscription","commits_url":"https://api.github.com/repos/astorga2/openmrs-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/astorga2/openmrs-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/astorga2/openmrs-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/astorga2/openmrs-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/astorga2/openmrs-core/contents/{+path}","compare_url":"https://api.github.com/repos/astorga2/openmrs-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/astorga2/openmrs-core/merges","archive_url":"https://api.github.com/repos/astorga2/openmrs-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/astorga2/openmrs-core/downloads","issues_url":"https://api.github.com/repos/astorga2/openmrs-core/issues{/number}","pulls_url":"https://api.github.com/repos/astorga2/openmrs-core/pulls{/number}","milestones_url":"https://api.github.com/repos/astorga2/openmrs-core/milestones{/number}","notifications_url":"https://api.github.com/repos/astorga2/openmrs-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/astorga2/openmrs-core/labels{/name}","releases_url":"https://api.github.com/repos/astorga2/openmrs-core/releases{/id}","deployments_url":"https://api.github.com/repos/astorga2/openmrs-core/deployments","created_at":"2016-04-14T06:27:38Z","updated_at":"2016-04-14T06:27:51Z","pushed_at":"2016-04-16T05:10:04Z","git_url":"git://github.com/astorga2/openmrs-core.git","ssh_url":"git@github.com:astorga2/openmrs-core.git","clone_url":"https://github.com/astorga2/openmrs-core.git","svn_url":"https://github.com/astorga2/openmrs-core","homepage":"http://openmrs.org","size":219023,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"master"}},"base":{"label":"openmrs:master","ref":"master","sha":"2687b9b92692f5cdbdb0c68d9d603f6f0ef514eb","user":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"repo":{"id":5187976,"name":"openmrs-core","full_name":"openmrs/openmrs-core","owner":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmrs/openmrs-core","description":"OpenMRS API and web application code","fork":false,"url":"https://api.github.com/repos/openmrs/openmrs-core","forks_url":"https://api.github.com/repos/openmrs/openmrs-core/forks","keys_url":"https://api.github.com/repos/openmrs/openmrs-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmrs/openmrs-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmrs/openmrs-core/teams","hooks_url":"https://api.github.com/repos/openmrs/openmrs-core/hooks","issue_events_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/events{/number}","events_url":"https://api.github.com/repos/openmrs/openmrs-core/events","assignees_url":"https://api.github.com/repos/openmrs/openmrs-core/assignees{/user}","branches_url":"https://api.github.com/repos/openmrs/openmrs-core/branches{/branch}","tags_url":"https://api.github.com/repos/openmrs/openmrs-core/tags","blobs_url":"https://api.github.com/repos/openmrs/openmrs-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmrs/openmrs-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmrs/openmrs-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmrs/openmrs-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmrs/openmrs-core/statuses/{sha}","languages_url":"https://api.github.com/repos/openmrs/openmrs-core/languages","stargazers_url":"https://api.github.com/repos/openmrs/openmrs-core/stargazers","contributors_url":"https://api.github.com/repos/openmrs/openmrs-core/contributors","subscribers_url":"https://api.github.com/repos/openmrs/openmrs-core/subscribers","subscription_url":"https://api.github.com/repos/openmrs/openmrs-core/subscription","commits_url":"https://api.github.com/repos/openmrs/openmrs-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmrs/openmrs-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmrs/openmrs-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmrs/openmrs-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmrs/openmrs-core/contents/{+path}","compare_url":"https://api.github.com/repos/openmrs/openmrs-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmrs/openmrs-core/merges","archive_url":"https://api.github.com/repos/openmrs/openmrs-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmrs/openmrs-core/downloads","issues_url":"https://api.github.com/repos/openmrs/openmrs-core/issues{/number}","pulls_url":"https://api.github.com/repos/openmrs/openmrs-core/pulls{/number}","milestones_url":"https://api.github.com/repos/openmrs/openmrs-core/milestones{/number}","notifications_url":"https://api.github.com/repos/openmrs/openmrs-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmrs/openmrs-core/labels{/name}","releases_url":"https://api.github.com/repos/openmrs/openmrs-core/releases{/id}","deployments_url":"https://api.github.com/repos/openmrs/openmrs-core/deployments","created_at":"2012-07-26T04:54:29Z","updated_at":"2016-04-14T05:39:00Z","pushed_at":"2016-04-16T02:58:22Z","git_url":"git://github.com/openmrs/openmrs-core.git","ssh_url":"git@github.com:openmrs/openmrs-core.git","clone_url":"https://github.com/openmrs/openmrs-core.git","svn_url":"https://github.com/openmrs/openmrs-core","homepage":"http://openmrs.org","size":236976,"stargazers_count":321,"watchers_count":321,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1448,"mirror_url":null,"open_issues_count":12,"forks":1448,"open_issues":12,"watchers":321,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1776"},"html":{"href":"https://github.com/openmrs/openmrs-core/pull/1776"},"issue":{"href":"https://api.github.com/repos/openmrs/openmrs-core/issues/1776"},"comments":{"href":"https://api.github.com/repos/openmrs/openmrs-core/issues/1776/comments"},"review_comments":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1776/comments"},"review_comment":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmrs/openmrs-core/pulls/1776/commits"},"statuses":{"href":"https://api.github.com/repos/openmrs/openmrs-core/statuses/3bd568cd084b6436230c412385fac243c728b690"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":0,"changed_files":1}}