{"action":"opened","number":5881,"pull_request":{"url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/5881","id":35903354,"html_url":"https://github.com/civicrm/civicrm-core/pull/5881","diff_url":"https://github.com/civicrm/civicrm-core/pull/5881.diff","patch_url":"https://github.com/civicrm/civicrm-core/pull/5881.patch","issue_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/5881","number":5881,"state":"open","locked":false,"title":"fix hidden form elements in addFieldMethod","user":{"login":"mallezie","id":1926222,"avatar_url":"https://avatars.githubusercontent.com/u/1926222?v=3","gravatar_id":"","url":"https://api.github.com/users/mallezie","html_url":"https://github.com/mallezie","followers_url":"https://api.github.com/users/mallezie/followers","following_url":"https://api.github.com/users/mallezie/following{/other_user}","gists_url":"https://api.github.com/users/mallezie/gists{/gist_id}","starred_url":"https://api.github.com/users/mallezie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mallezie/subscriptions","organizations_url":"https://api.github.com/users/mallezie/orgs","repos_url":"https://api.github.com/users/mallezie/repos","events_url":"https://api.github.com/users/mallezie/events{/privacy}","received_events_url":"https://api.github.com/users/mallezie/received_events","type":"User","site_admin":false},"body":"Followup for https://issues.civicrm.org/jira/browse/CRM-16130\r\n\r\n In latest master checkout, saving the Organization Address and Contact Info form throws a fatal error (civicrm/admin/domain?action=update&reset=1) because the master_id element in $params['address'] is being populated by a string which is that elements 'title' (Master Address Belongs To). I'm wondering if this related to the changes your working on - possibly due to the fact that this field/element is not defined by this particular form ??? \r\n\r\n[address] => Array \r\n        ( \r\n            [1] => Array \r\n                ( \r\n                    [master_id] => Master Address Belongs To \r\n                    [street_address] => 330 Upper Terrace \r\n                    [supplemental_address_1] => \r\n                    [supplemental_address_2] => \r\n                    [city] => San Francisco \r\n                    [postal_code] => 94117 \r\n                    [postal_code_suffix] => \r\n                    [country_id] => 1228 \r\n                    [state_province_id] => 1004 \r\n                    [geo_code_1] => \r\n                    [geo_code_2] => \r\n                    [location_type_id] => 1 \r\n                ) \r\n\r\n        ) ","created_at":"2015-05-21T06:27:35Z","updated_at":"2015-05-21T06:27:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/5881/commits","review_comments_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/5881/comments","review_comment_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/5881/comments","statuses_url":"https://api.github.com/repos/civicrm/civicrm-core/statuses/9136f6e4a4c439789358581543278a0ee62c3ad4","head":{"label":"mallezie:fix-hiddenfields-addfield","ref":"fix-hiddenfields-addfield","sha":"9136f6e4a4c439789358581543278a0ee62c3ad4","user":{"login":"mallezie","id":1926222,"avatar_url":"https://avatars.githubusercontent.com/u/1926222?v=3","gravatar_id":"","url":"https://api.github.com/users/mallezie","html_url":"https://github.com/mallezie","followers_url":"https://api.github.com/users/mallezie/followers","following_url":"https://api.github.com/users/mallezie/following{/other_user}","gists_url":"https://api.github.com/users/mallezie/gists{/gist_id}","starred_url":"https://api.github.com/users/mallezie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mallezie/subscriptions","organizations_url":"https://api.github.com/users/mallezie/orgs","repos_url":"https://api.github.com/users/mallezie/repos","events_url":"https://api.github.com/users/mallezie/events{/privacy}","received_events_url":"https://api.github.com/users/mallezie/received_events","type":"User","site_admin":false},"repo":{"id":27486859,"name":"civicrm-core","full_name":"mallezie/civicrm-core","owner":{"login":"mallezie","id":1926222,"avatar_url":"https://avatars.githubusercontent.com/u/1926222?v=3","gravatar_id":"","url":"https://api.github.com/users/mallezie","html_url":"https://github.com/mallezie","followers_url":"https://api.github.com/users/mallezie/followers","following_url":"https://api.github.com/users/mallezie/following{/other_user}","gists_url":"https://api.github.com/users/mallezie/gists{/gist_id}","starred_url":"https://api.github.com/users/mallezie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mallezie/subscriptions","organizations_url":"https://api.github.com/users/mallezie/orgs","repos_url":"https://api.github.com/users/mallezie/repos","events_url":"https://api.github.com/users/mallezie/events{/privacy}","received_events_url":"https://api.github.com/users/mallezie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mallezie/civicrm-core","description":"CiviCRM (Core Application and Framework)","fork":true,"url":"https://api.github.com/repos/mallezie/civicrm-core","forks_url":"https://api.github.com/repos/mallezie/civicrm-core/forks","keys_url":"https://api.github.com/repos/mallezie/civicrm-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mallezie/civicrm-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mallezie/civicrm-core/teams","hooks_url":"https://api.github.com/repos/mallezie/civicrm-core/hooks","issue_events_url":"https://api.github.com/repos/mallezie/civicrm-core/issues/events{/number}","events_url":"https://api.github.com/repos/mallezie/civicrm-core/events","assignees_url":"https://api.github.com/repos/mallezie/civicrm-core/assignees{/user}","branches_url":"https://api.github.com/repos/mallezie/civicrm-core/branches{/branch}","tags_url":"https://api.github.com/repos/mallezie/civicrm-core/tags","blobs_url":"https://api.github.com/repos/mallezie/civicrm-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mallezie/civicrm-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mallezie/civicrm-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/mallezie/civicrm-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mallezie/civicrm-core/statuses/{sha}","languages_url":"https://api.github.com/repos/mallezie/civicrm-core/languages","stargazers_url":"https://api.github.com/repos/mallezie/civicrm-core/stargazers","contributors_url":"https://api.github.com/repos/mallezie/civicrm-core/contributors","subscribers_url":"https://api.github.com/repos/mallezie/civicrm-core/subscribers","subscription_url":"https://api.github.com/repos/mallezie/civicrm-core/subscription","commits_url":"https://api.github.com/repos/mallezie/civicrm-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/mallezie/civicrm-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/mallezie/civicrm-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/mallezie/civicrm-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/mallezie/civicrm-core/contents/{+path}","compare_url":"https://api.github.com/repos/mallezie/civicrm-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mallezie/civicrm-core/merges","archive_url":"https://api.github.com/repos/mallezie/civicrm-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mallezie/civicrm-core/downloads","issues_url":"https://api.github.com/repos/mallezie/civicrm-core/issues{/number}","pulls_url":"https://api.github.com/repos/mallezie/civicrm-core/pulls{/number}","milestones_url":"https://api.github.com/repos/mallezie/civicrm-core/milestones{/number}","notifications_url":"https://api.github.com/repos/mallezie/civicrm-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mallezie/civicrm-core/labels{/name}","releases_url":"https://api.github.com/repos/mallezie/civicrm-core/releases{/id}","created_at":"2014-12-03T12:49:18Z","updated_at":"2015-05-07T10:10:15Z","pushed_at":"2015-05-21T06:25:01Z","git_url":"git://github.com/mallezie/civicrm-core.git","ssh_url":"git@github.com:mallezie/civicrm-core.git","clone_url":"https://github.com/mallezie/civicrm-core.git","svn_url":"https://github.com/mallezie/civicrm-core","homepage":null,"size":89819,"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":"master"}},"base":{"label":"civicrm:master","ref":"master","sha":"dae4d143ffa809be6246366664454bd4bb854085","user":{"login":"civicrm","id":136373,"avatar_url":"https://avatars.githubusercontent.com/u/136373?v=3","gravatar_id":"","url":"https://api.github.com/users/civicrm","html_url":"https://github.com/civicrm","followers_url":"https://api.github.com/users/civicrm/followers","following_url":"https://api.github.com/users/civicrm/following{/other_user}","gists_url":"https://api.github.com/users/civicrm/gists{/gist_id}","starred_url":"https://api.github.com/users/civicrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civicrm/subscriptions","organizations_url":"https://api.github.com/users/civicrm/orgs","repos_url":"https://api.github.com/users/civicrm/repos","events_url":"https://api.github.com/users/civicrm/events{/privacy}","received_events_url":"https://api.github.com/users/civicrm/received_events","type":"Organization","site_admin":false},"repo":{"id":8495499,"name":"civicrm-core","full_name":"civicrm/civicrm-core","owner":{"login":"civicrm","id":136373,"avatar_url":"https://avatars.githubusercontent.com/u/136373?v=3","gravatar_id":"","url":"https://api.github.com/users/civicrm","html_url":"https://github.com/civicrm","followers_url":"https://api.github.com/users/civicrm/followers","following_url":"https://api.github.com/users/civicrm/following{/other_user}","gists_url":"https://api.github.com/users/civicrm/gists{/gist_id}","starred_url":"https://api.github.com/users/civicrm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civicrm/subscriptions","organizations_url":"https://api.github.com/users/civicrm/orgs","repos_url":"https://api.github.com/users/civicrm/repos","events_url":"https://api.github.com/users/civicrm/events{/privacy}","received_events_url":"https://api.github.com/users/civicrm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/civicrm/civicrm-core","description":"CiviCRM (Core Application and Framework)","fork":false,"url":"https://api.github.com/repos/civicrm/civicrm-core","forks_url":"https://api.github.com/repos/civicrm/civicrm-core/forks","keys_url":"https://api.github.com/repos/civicrm/civicrm-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/civicrm/civicrm-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/civicrm/civicrm-core/teams","hooks_url":"https://api.github.com/repos/civicrm/civicrm-core/hooks","issue_events_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/events{/number}","events_url":"https://api.github.com/repos/civicrm/civicrm-core/events","assignees_url":"https://api.github.com/repos/civicrm/civicrm-core/assignees{/user}","branches_url":"https://api.github.com/repos/civicrm/civicrm-core/branches{/branch}","tags_url":"https://api.github.com/repos/civicrm/civicrm-core/tags","blobs_url":"https://api.github.com/repos/civicrm/civicrm-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/civicrm/civicrm-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/civicrm/civicrm-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/civicrm/civicrm-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/civicrm/civicrm-core/statuses/{sha}","languages_url":"https://api.github.com/repos/civicrm/civicrm-core/languages","stargazers_url":"https://api.github.com/repos/civicrm/civicrm-core/stargazers","contributors_url":"https://api.github.com/repos/civicrm/civicrm-core/contributors","subscribers_url":"https://api.github.com/repos/civicrm/civicrm-core/subscribers","subscription_url":"https://api.github.com/repos/civicrm/civicrm-core/subscription","commits_url":"https://api.github.com/repos/civicrm/civicrm-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/civicrm/civicrm-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/civicrm/civicrm-core/contents/{+path}","compare_url":"https://api.github.com/repos/civicrm/civicrm-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/civicrm/civicrm-core/merges","archive_url":"https://api.github.com/repos/civicrm/civicrm-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/civicrm/civicrm-core/downloads","issues_url":"https://api.github.com/repos/civicrm/civicrm-core/issues{/number}","pulls_url":"https://api.github.com/repos/civicrm/civicrm-core/pulls{/number}","milestones_url":"https://api.github.com/repos/civicrm/civicrm-core/milestones{/number}","notifications_url":"https://api.github.com/repos/civicrm/civicrm-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/civicrm/civicrm-core/labels{/name}","releases_url":"https://api.github.com/repos/civicrm/civicrm-core/releases{/id}","created_at":"2013-03-01T06:11:56Z","updated_at":"2015-05-20T17:55:33Z","pushed_at":"2015-05-21T05:50:25Z","git_url":"git://github.com/civicrm/civicrm-core.git","ssh_url":"git@github.com:civicrm/civicrm-core.git","clone_url":"https://github.com/civicrm/civicrm-core.git","svn_url":"https://github.com/civicrm/civicrm-core","homepage":null,"size":137726,"stargazers_count":105,"watchers_count":105,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":294,"mirror_url":null,"open_issues_count":82,"forks":294,"open_issues":82,"watchers":105,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/5881"},"html":{"href":"https://github.com/civicrm/civicrm-core/pull/5881"},"issue":{"href":"https://api.github.com/repos/civicrm/civicrm-core/issues/5881"},"comments":{"href":"https://api.github.com/repos/civicrm/civicrm-core/issues/5881/comments"},"review_comments":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/5881/comments"},"review_comment":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/civicrm/civicrm-core/pulls/5881/commits"},"statuses":{"href":"https://api.github.com/repos/civicrm/civicrm-core/statuses/9136f6e4a4c439789358581543278a0ee62c3ad4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}