GitHub PullRequestEvent at 2014-02-04 21:08:16
Repository: RestKit
Actor: sadlerjw
Payload: {"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/sadlerjw/RestKit/pulls/1","id":12196702,"html_url":"https://github.com/sadlerjw/RestKit/pull/1","diff_url":"https://github.com/sadlerjw/RestKit/pull/1.diff","patch_url":"https://github.com/sadlerjw/RestKit/pull/1.patch","issue_url":"https://api.github.com/repos/sadlerjw/RestKit/issues/1","number":1,"state":"open","title":"Fix a crash when a collection of heterogeneous managed objects is mapped","user":{"login":"sadlerjw","id":2762244,"avatar_url":"https://gravatar.com/avatar/2be18d047b0661b9971a29928bc8e06d?d=https%3A%2F%2Fidenticons.github.com%2Fd51e5457c5bc0bb49eccb6671f1f543c.png&r=x","gravatar_id":"2be18d047b0661b9971a29928bc8e06d","url":"https://api.github.com/users/sadlerjw","html_url":"https://github.com/sadlerjw","followers_url":"https://api.github.com/users/sadlerjw/followers","following_url":"https://api.github.com/users/sadlerjw/following{/other_user}","gists_url":"https://api.github.com/users/sadlerjw/gists{/gist_id}","starred_url":"https://api.github.com/users/sadlerjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadlerjw/subscriptions","organizations_url":"https://api.github.com/users/sadlerjw/orgs","repos_url":"https://api.github.com/users/sadlerjw/repos","events_url":"https://api.github.com/users/sadlerjw/events{/privacy}","received_events_url":"https://api.github.com/users/sadlerjw/received_events","type":"User","site_admin":false},"body":"If there are multiple key path components and mappingResultsAtRootKey is a collection\r\nof heterogeneous objects (that is, they have different properties), calling\r\n\r\n[mappingResultsAtRootKey valueForKeyPath:myKeyPath]\r\n\r\nwill crash because not all objects in the collection are KVC compliant for myKeyPath.\r\n\r\nTherefore, we enumerate all objects in mappingResultsAtRootKey, and *if the object is\r\nKVC-compliant for the requested key path* we add it to the sourceObject collection.\r\nOtherwise we ignore it by swallowing the exception.","created_at":"2014-02-04T21:08:15Z","updated_at":"2014-02-04T21:08:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sadlerjw/RestKit/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sadlerjw/RestKit/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sadlerjw/RestKit/pulls/comments/{number}","comments_url":"https://api.github.com/repos/sadlerjw/RestKit/issues/1/comments","statuses_url":"https://api.github.com/repos/sadlerjw/RestKit/statuses/9bd3ec1d299d5424ce07ef61afe6d042cc176793","head":{"label":"sadlerjw:fix-refetching-heterogeneous-collection","ref":"fix-refetching-heterogeneous-collection","sha":"9bd3ec1d299d5424ce07ef61afe6d042cc176793","user":{"login":"sadlerjw","id":2762244,"avatar_url":"https://gravatar.com/avatar/2be18d047b0661b9971a29928bc8e06d?d=https%3A%2F%2Fidenticons.github.com%2Fd51e5457c5bc0bb49eccb6671f1f543c.png&r=x","gravatar_id":"2be18d047b0661b9971a29928bc8e06d","url":"https://api.github.com/users/sadlerjw","html_url":"https://github.com/sadlerjw","followers_url":"https://api.github.com/users/sadlerjw/followers","following_url":"https://api.github.com/users/sadlerjw/following{/other_user}","gists_url":"https://api.github.com/users/sadlerjw/gists{/gist_id}","starred_url":"https://api.github.com/users/sadlerjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadlerjw/subscriptions","organizations_url":"https://api.github.com/users/sadlerjw/orgs","repos_url":"https://api.github.com/users/sadlerjw/repos","events_url":"https://api.github.com/users/sadlerjw/events{/privacy}","received_events_url":"https://api.github.com/users/sadlerjw/received_events","type":"User","site_admin":false},"repo":{"id":16187401,"name":"RestKit","full_name":"sadlerjw/RestKit","owner":{"login":"sadlerjw","id":2762244,"avatar_url":"https://gravatar.com/avatar/2be18d047b0661b9971a29928bc8e06d?d=https%3A%2F%2Fidenticons.github.com%2Fd51e5457c5bc0bb49eccb6671f1f543c.png&r=x","gravatar_id":"2be18d047b0661b9971a29928bc8e06d","url":"https://api.github.com/users/sadlerjw","html_url":"https://github.com/sadlerjw","followers_url":"https://api.github.com/users/sadlerjw/followers","following_url":"https://api.github.com/users/sadlerjw/following{/other_user}","gists_url":"https://api.github.com/users/sadlerjw/gists{/gist_id}","starred_url":"https://api.github.com/users/sadlerjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadlerjw/subscriptions","organizations_url":"https://api.github.com/users/sadlerjw/orgs","repos_url":"https://api.github.com/users/sadlerjw/repos","events_url":"https://api.github.com/users/sadlerjw/events{/privacy}","received_events_url":"https://api.github.com/users/sadlerjw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sadlerjw/RestKit","description":"RestKit is a framework for consuming and modeling RESTful web resources on iOS and OS X","fork":true,"url":"https://api.github.com/repos/sadlerjw/RestKit","forks_url":"https://api.github.com/repos/sadlerjw/RestKit/forks","keys_url":"https://api.github.com/repos/sadlerjw/RestKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sadlerjw/RestKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sadlerjw/RestKit/teams","hooks_url":"https://api.github.com/repos/sadlerjw/RestKit/hooks","issue_events_url":"https://api.github.com/repos/sadlerjw/RestKit/issues/events{/number}","events_url":"https://api.github.com/repos/sadlerjw/RestKit/events","assignees_url":"https://api.github.com/repos/sadlerjw/RestKit/assignees{/user}","branches_url":"https://api.github.com/repos/sadlerjw/RestKit/branches{/branch}","tags_url":"https://api.github.com/repos/sadlerjw/RestKit/tags","blobs_url":"https://api.github.com/repos/sadlerjw/RestKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sadlerjw/RestKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sadlerjw/RestKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/sadlerjw/RestKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sadlerjw/RestKit/statuses/{sha}","languages_url":"https://api.github.com/repos/sadlerjw/RestKit/languages","stargazers_url":"https://api.github.com/repos/sadlerjw/RestKit/stargazers","contributors_url":"https://api.github.com/repos/sadlerjw/RestKit/contributors","subscribers_url":"https://api.github.com/repos/sadlerjw/RestKit/subscribers","subscription_url":"https://api.github.com/repos/sadlerjw/RestKit/subscription","commits_url":"https://api.github.com/repos/sadlerjw/RestKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/sadlerjw/RestKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/sadlerjw/RestKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/sadlerjw/RestKit/issues/comments/{number}","contents_url":"https://api.github.com/repos/sadlerjw/RestKit/contents/{+path}","compare_url":"https://api.github.com/repos/sadlerjw/RestKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sadlerjw/RestKit/merges","archive_url":"https://api.github.com/repos/sadlerjw/RestKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sadlerjw/RestKit/downloads","issues_url":"https://api.github.com/repos/sadlerjw/RestKit/issues{/number}","pulls_url":"https://api.github.com/repos/sadlerjw/RestKit/pulls{/number}","milestones_url":"https://api.github.com/repos/sadlerjw/RestKit/milestones{/number}","notifications_url":"https://api.github.com/repos/sadlerjw/RestKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sadlerjw/RestKit/labels{/name}","releases_url":"https://api.github.com/repos/sadlerjw/RestKit/releases{/id}","created_at":"2014-01-23T22:14:30Z","updated_at":"2014-02-04T21:08:15Z","pushed_at":"2014-02-04T21:07:50Z","git_url":"git://github.com/sadlerjw/RestKit.git","ssh_url":"git@github.com:sadlerjw/RestKit.git","clone_url":"https://github.com/sadlerjw/RestKit.git","svn_url":"https://github.com/sadlerjw/RestKit","homepage":"http://www.restkit.org/","size":42897,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development","master_branch":"development"}},"base":{"label":"sadlerjw:tribehr-merges","ref":"tribehr-merges","sha":"f61825e643d9471c770e798edc85da362e6af9c0","user":{"login":"sadlerjw","id":2762244,"avatar_url":"https://gravatar.com/avatar/2be18d047b0661b9971a29928bc8e06d?d=https%3A%2F%2Fidenticons.github.com%2Fd51e5457c5bc0bb49eccb6671f1f543c.png&r=x","gravatar_id":"2be18d047b0661b9971a29928bc8e06d","url":"https://api.github.com/users/sadlerjw","html_url":"https://github.com/sadlerjw","followers_url":"https://api.github.com/users/sadlerjw/followers","following_url":"https://api.github.com/users/sadlerjw/following{/other_user}","gists_url":"https://api.github.com/users/sadlerjw/gists{/gist_id}","starred_url":"https://api.github.com/users/sadlerjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadlerjw/subscriptions","organizations_url":"https://api.github.com/users/sadlerjw/orgs","repos_url":"https://api.github.com/users/sadlerjw/repos","events_url":"https://api.github.com/users/sadlerjw/events{/privacy}","received_events_url":"https://api.github.com/users/sadlerjw/received_events","type":"User","site_admin":false},"repo":{"id":16187401,"name":"RestKit","full_name":"sadlerjw/RestKit","owner":{"login":"sadlerjw","id":2762244,"avatar_url":"https://gravatar.com/avatar/2be18d047b0661b9971a29928bc8e06d?d=https%3A%2F%2Fidenticons.github.com%2Fd51e5457c5bc0bb49eccb6671f1f543c.png&r=x","gravatar_id":"2be18d047b0661b9971a29928bc8e06d","url":"https://api.github.com/users/sadlerjw","html_url":"https://github.com/sadlerjw","followers_url":"https://api.github.com/users/sadlerjw/followers","following_url":"https://api.github.com/users/sadlerjw/following{/other_user}","gists_url":"https://api.github.com/users/sadlerjw/gists{/gist_id}","starred_url":"https://api.github.com/users/sadlerjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadlerjw/subscriptions","organizations_url":"https://api.github.com/users/sadlerjw/orgs","repos_url":"https://api.github.com/users/sadlerjw/repos","events_url":"https://api.github.com/users/sadlerjw/events{/privacy}","received_events_url":"https://api.github.com/users/sadlerjw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sadlerjw/RestKit","description":"RestKit is a framework for consuming and modeling RESTful web resources on iOS and OS X","fork":true,"url":"https://api.github.com/repos/sadlerjw/RestKit","forks_url":"https://api.github.com/repos/sadlerjw/RestKit/forks","keys_url":"https://api.github.com/repos/sadlerjw/RestKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sadlerjw/RestKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sadlerjw/RestKit/teams","hooks_url":"https://api.github.com/repos/sadlerjw/RestKit/hooks","issue_events_url":"https://api.github.com/repos/sadlerjw/RestKit/issues/events{/number}","events_url":"https://api.github.com/repos/sadlerjw/RestKit/events","assignees_url":"https://api.github.com/repos/sadlerjw/RestKit/assignees{/user}","branches_url":"https://api.github.com/repos/sadlerjw/RestKit/branches{/branch}","tags_url":"https://api.github.com/repos/sadlerjw/RestKit/tags","blobs_url":"https://api.github.com/repos/sadlerjw/RestKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sadlerjw/RestKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sadlerjw/RestKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/sadlerjw/RestKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sadlerjw/RestKit/statuses/{sha}","languages_url":"https://api.github.com/repos/sadlerjw/RestKit/languages","stargazers_url":"https://api.github.com/repos/sadlerjw/RestKit/stargazers","contributors_url":"https://api.github.com/repos/sadlerjw/RestKit/contributors","subscribers_url":"https://api.github.com/repos/sadlerjw/RestKit/subscribers","subscription_url":"https://api.github.com/repos/sadlerjw/RestKit/subscription","commits_url":"https://api.github.com/repos/sadlerjw/RestKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/sadlerjw/RestKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/sadlerjw/RestKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/sadlerjw/RestKit/issues/comments/{number}","contents_url":"https://api.github.com/repos/sadlerjw/RestKit/contents/{+path}","compare_url":"https://api.github.com/repos/sadlerjw/RestKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sadlerjw/RestKit/merges","archive_url":"https://api.github.com/repos/sadlerjw/RestKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sadlerjw/RestKit/downloads","issues_url":"https://api.github.com/repos/sadlerjw/RestKit/issues{/number}","pulls_url":"https://api.github.com/repos/sadlerjw/RestKit/pulls{/number}","milestones_url":"https://api.github.com/repos/sadlerjw/RestKit/milestones{/number}","notifications_url":"https://api.github.com/repos/sadlerjw/RestKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sadlerjw/RestKit/labels{/name}","releases_url":"https://api.github.com/repos/sadlerjw/RestKit/releases{/id}","created_at":"2014-01-23T22:14:30Z","updated_at":"2014-02-04T21:08:15Z","pushed_at":"2014-02-04T21:07:50Z","git_url":"git://github.com/sadlerjw/RestKit.git","ssh_url":"git@github.com:sadlerjw/RestKit.git","clone_url":"https://github.com/sadlerjw/RestKit.git","svn_url":"https://github.com/sadlerjw/RestKit","homepage":"http://www.restkit.org/","size":42897,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development","master_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/sadlerjw/RestKit/pulls/1"},"html":{"href":"https://github.com/sadlerjw/RestKit/pull/1"},"issue":{"href":"https://api.github.com/repos/sadlerjw/RestKit/issues/1"},"comments":{"href":"https://api.github.com/repos/sadlerjw/RestKit/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sadlerjw/RestKit/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sadlerjw/RestKit/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/sadlerjw/RestKit/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sadlerjw/RestKit/statuses/9bd3ec1d299d5424ce07ef61afe6d042cc176793"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":1,"changed_files":1}}