{"action":"opened","number":104,"pull_request":{"url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/pulls/104","id":52588383,"html_url":"https://github.com/silverstripe-australia/silverstripe-memberprofiles/pull/104","diff_url":"https://github.com/silverstripe-australia/silverstripe-memberprofiles/pull/104.diff","patch_url":"https://github.com/silverstripe-australia/silverstripe-memberprofiles/pull/104.patch","issue_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/issues/104","number":104,"state":"open","locked":false,"title":"Field default value dropdown set empty string","user":{"login":"3Dgoo","id":2616373,"avatar_url":"https://avatars.githubusercontent.com/u/2616373?v=3","gravatar_id":"","url":"https://api.github.com/users/3Dgoo","html_url":"https://github.com/3Dgoo","followers_url":"https://api.github.com/users/3Dgoo/followers","following_url":"https://api.github.com/users/3Dgoo/following{/other_user}","gists_url":"https://api.github.com/users/3Dgoo/gists{/gist_id}","starred_url":"https://api.github.com/users/3Dgoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3Dgoo/subscriptions","organizations_url":"https://api.github.com/users/3Dgoo/orgs","repos_url":"https://api.github.com/users/3Dgoo/repos","events_url":"https://api.github.com/users/3Dgoo/events{/privacy}","received_events_url":"https://api.github.com/users/3Dgoo/received_events","type":"User","site_admin":false},"body":"When a `MemberProfileField` is a `DropdownField` there is no way to select nothing as the default dropdown value. \r\n\r\n`$default->setHasEmptyDefault(true);` doesn't seem to work. \r\nI have replaced this with `$default->setEmptyString(' ');`.\r\n\r\nThis allows the user to select the empty string as a default value.","created_at":"2015-12-03T20:34:20Z","updated_at":"2015-12-03T20:34:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/pulls/104/commits","review_comments_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/pulls/104/comments","review_comment_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/pulls/comments{/number}","comments_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/issues/104/comments","statuses_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/statuses/fc1e1417897a62585500638b4ba1f537e8adfc44","head":{"label":"3Dgoo:feature/default-value-dropdown-default","ref":"feature/default-value-dropdown-default","sha":"fc1e1417897a62585500638b4ba1f537e8adfc44","user":{"login":"3Dgoo","id":2616373,"avatar_url":"https://avatars.githubusercontent.com/u/2616373?v=3","gravatar_id":"","url":"https://api.github.com/users/3Dgoo","html_url":"https://github.com/3Dgoo","followers_url":"https://api.github.com/users/3Dgoo/followers","following_url":"https://api.github.com/users/3Dgoo/following{/other_user}","gists_url":"https://api.github.com/users/3Dgoo/gists{/gist_id}","starred_url":"https://api.github.com/users/3Dgoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3Dgoo/subscriptions","organizations_url":"https://api.github.com/users/3Dgoo/orgs","repos_url":"https://api.github.com/users/3Dgoo/repos","events_url":"https://api.github.com/users/3Dgoo/events{/privacy}","received_events_url":"https://api.github.com/users/3Dgoo/received_events","type":"User","site_admin":false},"repo":{"id":47358246,"name":"silverstripe-memberprofiles","full_name":"3Dgoo/silverstripe-memberprofiles","owner":{"login":"3Dgoo","id":2616373,"avatar_url":"https://avatars.githubusercontent.com/u/2616373?v=3","gravatar_id":"","url":"https://api.github.com/users/3Dgoo","html_url":"https://github.com/3Dgoo","followers_url":"https://api.github.com/users/3Dgoo/followers","following_url":"https://api.github.com/users/3Dgoo/following{/other_user}","gists_url":"https://api.github.com/users/3Dgoo/gists{/gist_id}","starred_url":"https://api.github.com/users/3Dgoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3Dgoo/subscriptions","organizations_url":"https://api.github.com/users/3Dgoo/orgs","repos_url":"https://api.github.com/users/3Dgoo/repos","events_url":"https://api.github.com/users/3Dgoo/events{/privacy}","received_events_url":"https://api.github.com/users/3Dgoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/3Dgoo/silverstripe-memberprofiles","description":"A module to allow the creation of registration and profile management pages with custom fields and validation.","fork":true,"url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles","forks_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/forks","keys_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/teams","hooks_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/hooks","issue_events_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/issues/events{/number}","events_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/events","assignees_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/assignees{/user}","branches_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/branches{/branch}","tags_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/tags","blobs_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/git/refs{/sha}","trees_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/statuses/{sha}","languages_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/languages","stargazers_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/stargazers","contributors_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/contributors","subscribers_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/subscribers","subscription_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/subscription","commits_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/commits{/sha}","git_commits_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/git/commits{/sha}","comments_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/comments{/number}","issue_comment_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/issues/comments{/number}","contents_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/contents/{+path}","compare_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/merges","archive_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/downloads","issues_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/issues{/number}","pulls_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/pulls{/number}","milestones_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/milestones{/number}","notifications_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/labels{/name}","releases_url":"https://api.github.com/repos/3Dgoo/silverstripe-memberprofiles/releases{/id}","created_at":"2015-12-03T20:25:20Z","updated_at":"2015-12-03T20:25:21Z","pushed_at":"2015-12-03T20:33:19Z","git_url":"git://github.com/3Dgoo/silverstripe-memberprofiles.git","ssh_url":"git@github.com:3Dgoo/silverstripe-memberprofiles.git","clone_url":"https://github.com/3Dgoo/silverstripe-memberprofiles.git","svn_url":"https://github.com/3Dgoo/silverstripe-memberprofiles","homepage":"","size":267,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"silverstripe-australia:master","ref":"master","sha":"017d03be3e8bb19c86c3cf252c07ebbecc186c2c","user":{"login":"silverstripe-australia","id":193765,"avatar_url":"https://avatars.githubusercontent.com/u/193765?v=3","gravatar_id":"","url":"https://api.github.com/users/silverstripe-australia","html_url":"https://github.com/silverstripe-australia","followers_url":"https://api.github.com/users/silverstripe-australia/followers","following_url":"https://api.github.com/users/silverstripe-australia/following{/other_user}","gists_url":"https://api.github.com/users/silverstripe-australia/gists{/gist_id}","starred_url":"https://api.github.com/users/silverstripe-australia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverstripe-australia/subscriptions","organizations_url":"https://api.github.com/users/silverstripe-australia/orgs","repos_url":"https://api.github.com/users/silverstripe-australia/repos","events_url":"https://api.github.com/users/silverstripe-australia/events{/privacy}","received_events_url":"https://api.github.com/users/silverstripe-australia/received_events","type":"Organization","site_admin":false},"repo":{"id":454006,"name":"silverstripe-memberprofiles","full_name":"silverstripe-australia/silverstripe-memberprofiles","owner":{"login":"silverstripe-australia","id":193765,"avatar_url":"https://avatars.githubusercontent.com/u/193765?v=3","gravatar_id":"","url":"https://api.github.com/users/silverstripe-australia","html_url":"https://github.com/silverstripe-australia","followers_url":"https://api.github.com/users/silverstripe-australia/followers","following_url":"https://api.github.com/users/silverstripe-australia/following{/other_user}","gists_url":"https://api.github.com/users/silverstripe-australia/gists{/gist_id}","starred_url":"https://api.github.com/users/silverstripe-australia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silverstripe-australia/subscriptions","organizations_url":"https://api.github.com/users/silverstripe-australia/orgs","repos_url":"https://api.github.com/users/silverstripe-australia/repos","events_url":"https://api.github.com/users/silverstripe-australia/events{/privacy}","received_events_url":"https://api.github.com/users/silverstripe-australia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/silverstripe-australia/silverstripe-memberprofiles","description":"A module to allow the creation of registration and profile management pages with custom fields and validation.","fork":false,"url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles","forks_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/forks","keys_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/teams","hooks_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/hooks","issue_events_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/issues/events{/number}","events_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/events","assignees_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/assignees{/user}","branches_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/branches{/branch}","tags_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/tags","blobs_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/git/refs{/sha}","trees_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/statuses/{sha}","languages_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/languages","stargazers_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/stargazers","contributors_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/contributors","subscribers_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/subscribers","subscription_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/subscription","commits_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/commits{/sha}","git_commits_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/git/commits{/sha}","comments_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/comments{/number}","issue_comment_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/issues/comments{/number}","contents_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/contents/{+path}","compare_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/merges","archive_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/downloads","issues_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/issues{/number}","pulls_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/pulls{/number}","milestones_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/milestones{/number}","notifications_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/labels{/name}","releases_url":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/releases{/id}","created_at":"2009-12-31T01:13:50Z","updated_at":"2015-10-26T21:43:31Z","pushed_at":"2015-11-27T00:29:41Z","git_url":"git://github.com/silverstripe-australia/silverstripe-memberprofiles.git","ssh_url":"git@github.com:silverstripe-australia/silverstripe-memberprofiles.git","clone_url":"https://github.com/silverstripe-australia/silverstripe-memberprofiles.git","svn_url":"https://github.com/silverstripe-australia/silverstripe-memberprofiles","homepage":"","size":405,"stargazers_count":77,"watchers_count":77,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":60,"mirror_url":null,"open_issues_count":30,"forks":60,"open_issues":30,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/pulls/104"},"html":{"href":"https://github.com/silverstripe-australia/silverstripe-memberprofiles/pull/104"},"issue":{"href":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/issues/104"},"comments":{"href":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/silverstripe-australia/silverstripe-memberprofiles/statuses/fc1e1417897a62585500638b4ba1f537e8adfc44"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":1,"deletions":1,"changed_files":1}}