GitHub PullRequestEvent at 2014-04-09 08:01:02
Repository: spring-data-mongodb
Actor: christophstrobl
Payload: {"action":"opened","number":164,"pull_request":{"url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/pulls/164","id":14539112,"html_url":"https://github.com/spring-projects/spring-data-mongodb/pull/164","diff_url":"https://github.com/spring-projects/spring-data-mongodb/pull/164.diff","patch_url":"https://github.com/spring-projects/spring-data-mongodb/pull/164.patch","issue_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/issues/164","number":164,"state":"open","title":"DATAMONGO-897 - DBRef Update mapping should work on interface types.","user":{"login":"christophstrobl","id":2317257,"avatar_url":"https://avatars.githubusercontent.com/u/2317257?","gravatar_id":"b0e9230af37f3a883c88d3f11c00e174","url":"https://api.github.com/users/christophstrobl","html_url":"https://github.com/christophstrobl","followers_url":"https://api.github.com/users/christophstrobl/followers","following_url":"https://api.github.com/users/christophstrobl/following{/other_user}","gists_url":"https://api.github.com/users/christophstrobl/gists{/gist_id}","starred_url":"https://api.github.com/users/christophstrobl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophstrobl/subscriptions","organizations_url":"https://api.github.com/users/christophstrobl/orgs","repos_url":"https://api.github.com/users/christophstrobl/repos","events_url":"https://api.github.com/users/christophstrobl/events{/privacy}","received_events_url":"https://api.github.com/users/christophstrobl/received_events","type":"User","site_admin":false},"body":"Fixed potential failure in DBRef resolution for updates.\r\n\r\nIn 1.4 `DBRef` resolution in `QueryMapper` changed in a way that tries to inspect if the properties `Id` can be assigned to the given type. When one passes in an `Update` it is most likely not to have all type information at hand, which means in case of an property pointing to an interface that the entire resolution might have failed.\r\n\r\nIn 1.5 it`s possible to resolve properties on interfaces as long as those follow the beans convention. But it failed, as it does in 1.4.x, for those properties not having the required getters.\r\n\r\n---\r\n\r\nShould be backported to 1.4.x (minor merge glitches but doable)","created_at":"2014-04-09T08:01:01Z","updated_at":"2014-04-09T08:01:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/pulls/164/commits","review_comments_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/pulls/164/comments","review_comment_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/pulls/comments/{number}","comments_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/issues/164/comments","statuses_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/statuses/bd06b84a0e5cdb64be5528c2f37bacc30b205f00","head":{"label":"spring-projects:issue/DATAMONGO-897","ref":"issue/DATAMONGO-897","sha":"bd06b84a0e5cdb64be5528c2f37bacc30b205f00","user":{"login":"spring-projects","id":317776,"avatar_url":"https://avatars.githubusercontent.com/u/317776?","gravatar_id":"6f8a529bd100f4272a9ff1b8cdfbd26e","url":"https://api.github.com/users/spring-projects","html_url":"https://github.com/spring-projects","followers_url":"https://api.github.com/users/spring-projects/followers","following_url":"https://api.github.com/users/spring-projects/following{/other_user}","gists_url":"https://api.github.com/users/spring-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-projects/subscriptions","organizations_url":"https://api.github.com/users/spring-projects/orgs","repos_url":"https://api.github.com/users/spring-projects/repos","events_url":"https://api.github.com/users/spring-projects/events{/privacy}","received_events_url":"https://api.github.com/users/spring-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":2566570,"name":"spring-data-mongodb","full_name":"spring-projects/spring-data-mongodb","owner":{"login":"spring-projects","id":317776,"avatar_url":"https://avatars.githubusercontent.com/u/317776?","gravatar_id":"6f8a529bd100f4272a9ff1b8cdfbd26e","url":"https://api.github.com/users/spring-projects","html_url":"https://github.com/spring-projects","followers_url":"https://api.github.com/users/spring-projects/followers","following_url":"https://api.github.com/users/spring-projects/following{/other_user}","gists_url":"https://api.github.com/users/spring-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-projects/subscriptions","organizations_url":"https://api.github.com/users/spring-projects/orgs","repos_url":"https://api.github.com/users/spring-projects/repos","events_url":"https://api.github.com/users/spring-projects/events{/privacy}","received_events_url":"https://api.github.com/users/spring-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spring-projects/spring-data-mongodb","description":"Provide support to increase developer productivity in Java when using MongoDB. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.","fork":false,"url":"https://api.github.com/repos/spring-projects/spring-data-mongodb","forks_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/forks","keys_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/teams","hooks_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/hooks","issue_events_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/events","assignees_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/tags","blobs_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/languages","stargazers_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/stargazers","contributors_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/contributors","subscribers_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/subscribers","subscription_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/subscription","commits_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/issues/comments/{number}","contents_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/merges","archive_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/downloads","issues_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/releases{/id}","created_at":"2011-10-13T01:06:55Z","updated_at":"2014-04-09T08:01:02Z","pushed_at":"2014-04-09T07:57:39Z","git_url":"git://github.com/spring-projects/spring-data-mongodb.git","ssh_url":"git@github.com:spring-projects/spring-data-mongodb.git","clone_url":"https://github.com/spring-projects/spring-data-mongodb.git","svn_url":"https://github.com/spring-projects/spring-data-mongodb","homepage":"http://www.springsource.org/spring-data/mongodb","size":19548,"stargazers_count":255,"watchers_count":255,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":195,"mirror_url":null,"open_issues_count":28,"forks":195,"open_issues":28,"watchers":255,"default_branch":"master","master_branch":"master"}},"base":{"label":"spring-projects:master","ref":"master","sha":"9623dac01f43f4d8495917f02e061202d3fd4fe7","user":{"login":"spring-projects","id":317776,"avatar_url":"https://avatars.githubusercontent.com/u/317776?","gravatar_id":"6f8a529bd100f4272a9ff1b8cdfbd26e","url":"https://api.github.com/users/spring-projects","html_url":"https://github.com/spring-projects","followers_url":"https://api.github.com/users/spring-projects/followers","following_url":"https://api.github.com/users/spring-projects/following{/other_user}","gists_url":"https://api.github.com/users/spring-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-projects/subscriptions","organizations_url":"https://api.github.com/users/spring-projects/orgs","repos_url":"https://api.github.com/users/spring-projects/repos","events_url":"https://api.github.com/users/spring-projects/events{/privacy}","received_events_url":"https://api.github.com/users/spring-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":2566570,"name":"spring-data-mongodb","full_name":"spring-projects/spring-data-mongodb","owner":{"login":"spring-projects","id":317776,"avatar_url":"https://avatars.githubusercontent.com/u/317776?","gravatar_id":"6f8a529bd100f4272a9ff1b8cdfbd26e","url":"https://api.github.com/users/spring-projects","html_url":"https://github.com/spring-projects","followers_url":"https://api.github.com/users/spring-projects/followers","following_url":"https://api.github.com/users/spring-projects/following{/other_user}","gists_url":"https://api.github.com/users/spring-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/spring-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spring-projects/subscriptions","organizations_url":"https://api.github.com/users/spring-projects/orgs","repos_url":"https://api.github.com/users/spring-projects/repos","events_url":"https://api.github.com/users/spring-projects/events{/privacy}","received_events_url":"https://api.github.com/users/spring-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spring-projects/spring-data-mongodb","description":"Provide support to increase developer productivity in Java when using MongoDB. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.","fork":false,"url":"https://api.github.com/repos/spring-projects/spring-data-mongodb","forks_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/forks","keys_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/teams","hooks_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/hooks","issue_events_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/events","assignees_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/tags","blobs_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/languages","stargazers_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/stargazers","contributors_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/contributors","subscribers_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/subscribers","subscription_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/subscription","commits_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/issues/comments/{number}","contents_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/merges","archive_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/downloads","issues_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/spring-projects/spring-data-mongodb/releases{/id}","created_at":"2011-10-13T01:06:55Z","updated_at":"2014-04-09T08:01:02Z","pushed_at":"2014-04-09T07:57:39Z","git_url":"git://github.com/spring-projects/spring-data-mongodb.git","ssh_url":"git@github.com:spring-projects/spring-data-mongodb.git","clone_url":"https://github.com/spring-projects/spring-data-mongodb.git","svn_url":"https://github.com/spring-projects/spring-data-mongodb","homepage":"http://www.springsource.org/spring-data/mongodb","size":19548,"stargazers_count":255,"watchers_count":255,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":195,"mirror_url":null,"open_issues_count":28,"forks":195,"open_issues":28,"watchers":255,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spring-projects/spring-data-mongodb/pulls/164"},"html":{"href":"https://github.com/spring-projects/spring-data-mongodb/pull/164"},"issue":{"href":"https://api.github.com/repos/spring-projects/spring-data-mongodb/issues/164"},"comments":{"href":"https://api.github.com/repos/spring-projects/spring-data-mongodb/issues/164/comments"},"review_comments":{"href":"https://api.github.com/repos/spring-projects/spring-data-mongodb/pulls/164/comments"},"review_comment":{"href":"https://api.github.com/repos/spring-projects/spring-data-mongodb/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/spring-projects/spring-data-mongodb/pulls/164/commits"},"statuses":{"href":"https://api.github.com/repos/spring-projects/spring-data-mongodb/statuses/bd06b84a0e5cdb64be5528c2f37bacc30b205f00"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":77,"deletions":7,"changed_files":7}}