{"action":"opened","number":2614,"pull_request":{"url":"https://api.github.com/repos/concrete5/concrete5/pulls/2614","id":38017623,"html_url":"https://github.com/concrete5/concrete5/pull/2614","diff_url":"https://github.com/concrete5/concrete5/pull/2614.diff","patch_url":"https://github.com/concrete5/concrete5/pull/2614.patch","issue_url":"https://api.github.com/repos/concrete5/concrete5/issues/2614","number":2614,"state":"open","locked":false,"title":"getRelativePathFromID: 'false' instead of error","user":{"login":"infostreams","id":1132744,"avatar_url":"https://avatars.githubusercontent.com/u/1132744?v=3","gravatar_id":"","url":"https://api.github.com/users/infostreams","html_url":"https://github.com/infostreams","followers_url":"https://api.github.com/users/infostreams/followers","following_url":"https://api.github.com/users/infostreams/following{/other_user}","gists_url":"https://api.github.com/users/infostreams/gists{/gist_id}","starred_url":"https://api.github.com/users/infostreams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infostreams/subscriptions","organizations_url":"https://api.github.com/users/infostreams/orgs","repos_url":"https://api.github.com/users/infostreams/repos","events_url":"https://api.github.com/users/infostreams/events{/privacy}","received_events_url":"https://api.github.com/users/infostreams/received_events","type":"User","site_admin":false},"body":"If you call 'getRelativePathFromID' for a non-existing fID, the file would evaluate to NULL, and you can't get a relative path from NULL -> this would result in a fatal error. I've added code to return 'false' in such cases instead. This kind of behavior could happen if you've transferred the database but not the files itself. The previous behavior would make the whole page inoperable/inaccessible, the new behavior doesn't.","created_at":"2015-06-18T15:13:02Z","updated_at":"2015-06-18T15:13:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/concrete5/concrete5/pulls/2614/commits","review_comments_url":"https://api.github.com/repos/concrete5/concrete5/pulls/2614/comments","review_comment_url":"https://api.github.com/repos/concrete5/concrete5/pulls/comments{/number}","comments_url":"https://api.github.com/repos/concrete5/concrete5/issues/2614/comments","statuses_url":"https://api.github.com/repos/concrete5/concrete5/statuses/36a03295797b88190b87092e1a32d75ff4f45e12","head":{"label":"infostreams:patch-13","ref":"patch-13","sha":"36a03295797b88190b87092e1a32d75ff4f45e12","user":{"login":"infostreams","id":1132744,"avatar_url":"https://avatars.githubusercontent.com/u/1132744?v=3","gravatar_id":"","url":"https://api.github.com/users/infostreams","html_url":"https://github.com/infostreams","followers_url":"https://api.github.com/users/infostreams/followers","following_url":"https://api.github.com/users/infostreams/following{/other_user}","gists_url":"https://api.github.com/users/infostreams/gists{/gist_id}","starred_url":"https://api.github.com/users/infostreams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infostreams/subscriptions","organizations_url":"https://api.github.com/users/infostreams/orgs","repos_url":"https://api.github.com/users/infostreams/repos","events_url":"https://api.github.com/users/infostreams/events{/privacy}","received_events_url":"https://api.github.com/users/infostreams/received_events","type":"User","site_admin":false},"repo":{"id":25204105,"name":"concrete5-5.7.0","full_name":"infostreams/concrete5-5.7.0","owner":{"login":"infostreams","id":1132744,"avatar_url":"https://avatars.githubusercontent.com/u/1132744?v=3","gravatar_id":"","url":"https://api.github.com/users/infostreams","html_url":"https://github.com/infostreams","followers_url":"https://api.github.com/users/infostreams/followers","following_url":"https://api.github.com/users/infostreams/following{/other_user}","gists_url":"https://api.github.com/users/infostreams/gists{/gist_id}","starred_url":"https://api.github.com/users/infostreams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infostreams/subscriptions","organizations_url":"https://api.github.com/users/infostreams/orgs","repos_url":"https://api.github.com/users/infostreams/repos","events_url":"https://api.github.com/users/infostreams/events{/privacy}","received_events_url":"https://api.github.com/users/infostreams/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/infostreams/concrete5-5.7.0","description":"Official repository for concrete5 5.7 development","fork":true,"url":"https://api.github.com/repos/infostreams/concrete5-5.7.0","forks_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/forks","keys_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/teams","hooks_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/hooks","issue_events_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/issues/events{/number}","events_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/events","assignees_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/assignees{/user}","branches_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/branches{/branch}","tags_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/tags","blobs_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/git/refs{/sha}","trees_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/statuses/{sha}","languages_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/languages","stargazers_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/stargazers","contributors_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/contributors","subscribers_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/subscribers","subscription_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/subscription","commits_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/commits{/sha}","git_commits_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/git/commits{/sha}","comments_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/comments{/number}","issue_comment_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/issues/comments{/number}","contents_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/contents/{+path}","compare_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/merges","archive_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/downloads","issues_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/issues{/number}","pulls_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/pulls{/number}","milestones_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/milestones{/number}","notifications_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/labels{/name}","releases_url":"https://api.github.com/repos/infostreams/concrete5-5.7.0/releases{/id}","created_at":"2014-10-14T11:55:18Z","updated_at":"2015-03-30T13:50:55Z","pushed_at":"2015-06-18T15:11:12Z","git_url":"git://github.com/infostreams/concrete5-5.7.0.git","ssh_url":"git@github.com:infostreams/concrete5-5.7.0.git","clone_url":"https://github.com/infostreams/concrete5-5.7.0.git","svn_url":"https://github.com/infostreams/concrete5-5.7.0","homepage":"","size":74342,"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":"concrete5:develop","ref":"develop","sha":"409587e03b92b27cf051496fc0ccec03a09d62c1","user":{"login":"concrete5","id":657929,"avatar_url":"https://avatars.githubusercontent.com/u/657929?v=3","gravatar_id":"","url":"https://api.github.com/users/concrete5","html_url":"https://github.com/concrete5","followers_url":"https://api.github.com/users/concrete5/followers","following_url":"https://api.github.com/users/concrete5/following{/other_user}","gists_url":"https://api.github.com/users/concrete5/gists{/gist_id}","starred_url":"https://api.github.com/users/concrete5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concrete5/subscriptions","organizations_url":"https://api.github.com/users/concrete5/orgs","repos_url":"https://api.github.com/users/concrete5/repos","events_url":"https://api.github.com/users/concrete5/events{/privacy}","received_events_url":"https://api.github.com/users/concrete5/received_events","type":"Organization","site_admin":false},"repo":{"id":19040482,"name":"concrete5","full_name":"concrete5/concrete5","owner":{"login":"concrete5","id":657929,"avatar_url":"https://avatars.githubusercontent.com/u/657929?v=3","gravatar_id":"","url":"https://api.github.com/users/concrete5","html_url":"https://github.com/concrete5","followers_url":"https://api.github.com/users/concrete5/followers","following_url":"https://api.github.com/users/concrete5/following{/other_user}","gists_url":"https://api.github.com/users/concrete5/gists{/gist_id}","starred_url":"https://api.github.com/users/concrete5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concrete5/subscriptions","organizations_url":"https://api.github.com/users/concrete5/orgs","repos_url":"https://api.github.com/users/concrete5/repos","events_url":"https://api.github.com/users/concrete5/events{/privacy}","received_events_url":"https://api.github.com/users/concrete5/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/concrete5/concrete5","description":"Official repository for concrete5 5.7 development","fork":false,"url":"https://api.github.com/repos/concrete5/concrete5","forks_url":"https://api.github.com/repos/concrete5/concrete5/forks","keys_url":"https://api.github.com/repos/concrete5/concrete5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/concrete5/concrete5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/concrete5/concrete5/teams","hooks_url":"https://api.github.com/repos/concrete5/concrete5/hooks","issue_events_url":"https://api.github.com/repos/concrete5/concrete5/issues/events{/number}","events_url":"https://api.github.com/repos/concrete5/concrete5/events","assignees_url":"https://api.github.com/repos/concrete5/concrete5/assignees{/user}","branches_url":"https://api.github.com/repos/concrete5/concrete5/branches{/branch}","tags_url":"https://api.github.com/repos/concrete5/concrete5/tags","blobs_url":"https://api.github.com/repos/concrete5/concrete5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/concrete5/concrete5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/concrete5/concrete5/git/refs{/sha}","trees_url":"https://api.github.com/repos/concrete5/concrete5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/concrete5/concrete5/statuses/{sha}","languages_url":"https://api.github.com/repos/concrete5/concrete5/languages","stargazers_url":"https://api.github.com/repos/concrete5/concrete5/stargazers","contributors_url":"https://api.github.com/repos/concrete5/concrete5/contributors","subscribers_url":"https://api.github.com/repos/concrete5/concrete5/subscribers","subscription_url":"https://api.github.com/repos/concrete5/concrete5/subscription","commits_url":"https://api.github.com/repos/concrete5/concrete5/commits{/sha}","git_commits_url":"https://api.github.com/repos/concrete5/concrete5/git/commits{/sha}","comments_url":"https://api.github.com/repos/concrete5/concrete5/comments{/number}","issue_comment_url":"https://api.github.com/repos/concrete5/concrete5/issues/comments{/number}","contents_url":"https://api.github.com/repos/concrete5/concrete5/contents/{+path}","compare_url":"https://api.github.com/repos/concrete5/concrete5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/concrete5/concrete5/merges","archive_url":"https://api.github.com/repos/concrete5/concrete5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/concrete5/concrete5/downloads","issues_url":"https://api.github.com/repos/concrete5/concrete5/issues{/number}","pulls_url":"https://api.github.com/repos/concrete5/concrete5/pulls{/number}","milestones_url":"https://api.github.com/repos/concrete5/concrete5/milestones{/number}","notifications_url":"https://api.github.com/repos/concrete5/concrete5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/concrete5/concrete5/labels{/name}","releases_url":"https://api.github.com/repos/concrete5/concrete5/releases{/id}","created_at":"2014-04-22T18:12:28Z","updated_at":"2015-06-17T05:31:19Z","pushed_at":"2015-06-18T14:31:15Z","git_url":"git://github.com/concrete5/concrete5.git","ssh_url":"git@github.com:concrete5/concrete5.git","clone_url":"https://github.com/concrete5/concrete5.git","svn_url":"https://github.com/concrete5/concrete5","homepage":"","size":160722,"stargazers_count":154,"watchers_count":154,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":169,"mirror_url":null,"open_issues_count":281,"forks":169,"open_issues":281,"watchers":154,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/concrete5/concrete5/pulls/2614"},"html":{"href":"https://github.com/concrete5/concrete5/pull/2614"},"issue":{"href":"https://api.github.com/repos/concrete5/concrete5/issues/2614"},"comments":{"href":"https://api.github.com/repos/concrete5/concrete5/issues/2614/comments"},"review_comments":{"href":"https://api.github.com/repos/concrete5/concrete5/pulls/2614/comments"},"review_comment":{"href":"https://api.github.com/repos/concrete5/concrete5/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/concrete5/concrete5/pulls/2614/commits"},"statuses":{"href":"https://api.github.com/repos/concrete5/concrete5/statuses/36a03295797b88190b87092e1a32d75ff4f45e12"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":3,"changed_files":1}}