{"action":"opened","number":5620,"pull_request":{"url":"https://api.github.com/repos/cakephp/cakephp/pulls/5620","id":27099936,"html_url":"https://github.com/cakephp/cakephp/pull/5620","diff_url":"https://github.com/cakephp/cakephp/pull/5620.diff","patch_url":"https://github.com/cakephp/cakephp/pull/5620.patch","issue_url":"https://api.github.com/repos/cakephp/cakephp/issues/5620","number":5620,"state":"open","locked":false,"title":"3.0 - Marshalling of null values with fieldList","user":{"login":"dakota","id":83255,"avatar_url":"https://avatars.githubusercontent.com/u/83255?v=3","gravatar_id":"","url":"https://api.github.com/users/dakota","html_url":"https://github.com/dakota","followers_url":"https://api.github.com/users/dakota/followers","following_url":"https://api.github.com/users/dakota/following{/other_user}","gists_url":"https://api.github.com/users/dakota/gists{/gist_id}","starred_url":"https://api.github.com/users/dakota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakota/subscriptions","organizations_url":"https://api.github.com/users/dakota/orgs","repos_url":"https://api.github.com/users/dakota/repos","events_url":"https://api.github.com/users/dakota/events{/privacy}","received_events_url":"https://api.github.com/users/dakota/received_events","type":"User","site_admin":false},"body":"Due to the use of `isset()` on marshalling, any null values would be ignored when using the fieldList option. This corrects that problem with the use of `array_key_exists()` instead.","created_at":"2015-01-09T13:34:47Z","updated_at":"2015-01-09T13:34:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cakephp/cakephp/pulls/5620/commits","review_comments_url":"https://api.github.com/repos/cakephp/cakephp/pulls/5620/comments","review_comment_url":"https://api.github.com/repos/cakephp/cakephp/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/5620/comments","statuses_url":"https://api.github.com/repos/cakephp/cakephp/statuses/585522d493282b8edc1cfbfe02a5b88d64dde799","head":{"label":"dakota:3.0-null-marshall","ref":"3.0-null-marshall","sha":"585522d493282b8edc1cfbfe02a5b88d64dde799","user":{"login":"dakota","id":83255,"avatar_url":"https://avatars.githubusercontent.com/u/83255?v=3","gravatar_id":"","url":"https://api.github.com/users/dakota","html_url":"https://github.com/dakota","followers_url":"https://api.github.com/users/dakota/followers","following_url":"https://api.github.com/users/dakota/following{/other_user}","gists_url":"https://api.github.com/users/dakota/gists{/gist_id}","starred_url":"https://api.github.com/users/dakota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakota/subscriptions","organizations_url":"https://api.github.com/users/dakota/orgs","repos_url":"https://api.github.com/users/dakota/repos","events_url":"https://api.github.com/users/dakota/events{/privacy}","received_events_url":"https://api.github.com/users/dakota/received_events","type":"User","site_admin":false},"repo":{"id":658604,"name":"cakephp","full_name":"dakota/cakephp","owner":{"login":"dakota","id":83255,"avatar_url":"https://avatars.githubusercontent.com/u/83255?v=3","gravatar_id":"","url":"https://api.github.com/users/dakota","html_url":"https://github.com/dakota","followers_url":"https://api.github.com/users/dakota/followers","following_url":"https://api.github.com/users/dakota/following{/other_user}","gists_url":"https://api.github.com/users/dakota/gists{/gist_id}","starred_url":"https://api.github.com/users/dakota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakota/subscriptions","organizations_url":"https://api.github.com/users/dakota/orgs","repos_url":"https://api.github.com/users/dakota/repos","events_url":"https://api.github.com/users/dakota/events{/privacy}","received_events_url":"https://api.github.com/users/dakota/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dakota/cakephp","description":"CakePHP: The Rapid Development Framework for PHP - Official Repository","fork":true,"url":"https://api.github.com/repos/dakota/cakephp","forks_url":"https://api.github.com/repos/dakota/cakephp/forks","keys_url":"https://api.github.com/repos/dakota/cakephp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dakota/cakephp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dakota/cakephp/teams","hooks_url":"https://api.github.com/repos/dakota/cakephp/hooks","issue_events_url":"https://api.github.com/repos/dakota/cakephp/issues/events{/number}","events_url":"https://api.github.com/repos/dakota/cakephp/events","assignees_url":"https://api.github.com/repos/dakota/cakephp/assignees{/user}","branches_url":"https://api.github.com/repos/dakota/cakephp/branches{/branch}","tags_url":"https://api.github.com/repos/dakota/cakephp/tags","blobs_url":"https://api.github.com/repos/dakota/cakephp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dakota/cakephp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dakota/cakephp/git/refs{/sha}","trees_url":"https://api.github.com/repos/dakota/cakephp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dakota/cakephp/statuses/{sha}","languages_url":"https://api.github.com/repos/dakota/cakephp/languages","stargazers_url":"https://api.github.com/repos/dakota/cakephp/stargazers","contributors_url":"https://api.github.com/repos/dakota/cakephp/contributors","subscribers_url":"https://api.github.com/repos/dakota/cakephp/subscribers","subscription_url":"https://api.github.com/repos/dakota/cakephp/subscription","commits_url":"https://api.github.com/repos/dakota/cakephp/commits{/sha}","git_commits_url":"https://api.github.com/repos/dakota/cakephp/git/commits{/sha}","comments_url":"https://api.github.com/repos/dakota/cakephp/comments{/number}","issue_comment_url":"https://api.github.com/repos/dakota/cakephp/issues/comments/{number}","contents_url":"https://api.github.com/repos/dakota/cakephp/contents/{+path}","compare_url":"https://api.github.com/repos/dakota/cakephp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dakota/cakephp/merges","archive_url":"https://api.github.com/repos/dakota/cakephp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dakota/cakephp/downloads","issues_url":"https://api.github.com/repos/dakota/cakephp/issues{/number}","pulls_url":"https://api.github.com/repos/dakota/cakephp/pulls{/number}","milestones_url":"https://api.github.com/repos/dakota/cakephp/milestones{/number}","notifications_url":"https://api.github.com/repos/dakota/cakephp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dakota/cakephp/labels{/name}","releases_url":"https://api.github.com/repos/dakota/cakephp/releases{/id}","created_at":"2010-05-10T06:52:47Z","updated_at":"2014-08-06T06:49:54Z","pushed_at":"2015-01-09T13:22:02Z","git_url":"git://github.com/dakota/cakephp.git","ssh_url":"git@github.com:dakota/cakephp.git","clone_url":"https://github.com/dakota/cakephp.git","svn_url":"https://github.com/dakota/cakephp","homepage":"http://cakephp.org","size":66634,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"cakephp:3.0","ref":"3.0","sha":"64e4efc8b9d2800e69a6b9c501d0c61ef4cbe3c9","user":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"repo":{"id":656494,"name":"cakephp","full_name":"cakephp/cakephp","owner":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cakephp/cakephp","description":"CakePHP: The Rapid Development Framework for PHP - Official Repository","fork":false,"url":"https://api.github.com/repos/cakephp/cakephp","forks_url":"https://api.github.com/repos/cakephp/cakephp/forks","keys_url":"https://api.github.com/repos/cakephp/cakephp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cakephp/cakephp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cakephp/cakephp/teams","hooks_url":"https://api.github.com/repos/cakephp/cakephp/hooks","issue_events_url":"https://api.github.com/repos/cakephp/cakephp/issues/events{/number}","events_url":"https://api.github.com/repos/cakephp/cakephp/events","assignees_url":"https://api.github.com/repos/cakephp/cakephp/assignees{/user}","branches_url":"https://api.github.com/repos/cakephp/cakephp/branches{/branch}","tags_url":"https://api.github.com/repos/cakephp/cakephp/tags","blobs_url":"https://api.github.com/repos/cakephp/cakephp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cakephp/cakephp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cakephp/cakephp/git/refs{/sha}","trees_url":"https://api.github.com/repos/cakephp/cakephp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cakephp/cakephp/statuses/{sha}","languages_url":"https://api.github.com/repos/cakephp/cakephp/languages","stargazers_url":"https://api.github.com/repos/cakephp/cakephp/stargazers","contributors_url":"https://api.github.com/repos/cakephp/cakephp/contributors","subscribers_url":"https://api.github.com/repos/cakephp/cakephp/subscribers","subscription_url":"https://api.github.com/repos/cakephp/cakephp/subscription","commits_url":"https://api.github.com/repos/cakephp/cakephp/commits{/sha}","git_commits_url":"https://api.github.com/repos/cakephp/cakephp/git/commits{/sha}","comments_url":"https://api.github.com/repos/cakephp/cakephp/comments{/number}","issue_comment_url":"https://api.github.com/repos/cakephp/cakephp/issues/comments/{number}","contents_url":"https://api.github.com/repos/cakephp/cakephp/contents/{+path}","compare_url":"https://api.github.com/repos/cakephp/cakephp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cakephp/cakephp/merges","archive_url":"https://api.github.com/repos/cakephp/cakephp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cakephp/cakephp/downloads","issues_url":"https://api.github.com/repos/cakephp/cakephp/issues{/number}","pulls_url":"https://api.github.com/repos/cakephp/cakephp/pulls{/number}","milestones_url":"https://api.github.com/repos/cakephp/cakephp/milestones{/number}","notifications_url":"https://api.github.com/repos/cakephp/cakephp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cakephp/cakephp/labels{/name}","releases_url":"https://api.github.com/repos/cakephp/cakephp/releases{/id}","created_at":"2010-05-08T14:38:22Z","updated_at":"2015-01-09T09:29:13Z","pushed_at":"2015-01-09T13:30:43Z","git_url":"git://github.com/cakephp/cakephp.git","ssh_url":"git@github.com:cakephp/cakephp.git","clone_url":"https://github.com/cakephp/cakephp.git","svn_url":"https://github.com/cakephp/cakephp","homepage":"http://cakephp.org","size":148492,"stargazers_count":5425,"watchers_count":5425,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2392,"mirror_url":null,"open_issues_count":114,"forks":2392,"open_issues":114,"watchers":5425,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/5620"},"html":{"href":"https://github.com/cakephp/cakephp/pull/5620"},"issue":{"href":"https://api.github.com/repos/cakephp/cakephp/issues/5620"},"comments":{"href":"https://api.github.com/repos/cakephp/cakephp/issues/5620/comments"},"review_comments":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/5620/comments"},"review_comment":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/5620/commits"},"statuses":{"href":"https://api.github.com/repos/cakephp/cakephp/statuses/585522d493282b8edc1cfbfe02a5b88d64dde799"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":6,"deletions":5,"changed_files":2}}