{"action":"created","issue":{"url":"https://api.github.com/repos/civicrm/civicrm-core/issues/11971","repository_url":"https://api.github.com/repos/civicrm/civicrm-core","labels_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/11971/labels{/name}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/11971/comments","events_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/11971/events","html_url":"https://github.com/civicrm/civicrm-core/pull/11971","id":313799577,"number":11971,"title":"dev/financial#11 email invoice fails with validation error","user":{"login":"lcdservices","id":366478,"avatar_url":"https://avatars3.githubusercontent.com/u/366478?v=4","gravatar_id":"","url":"https://api.github.com/users/lcdservices","html_url":"https://github.com/lcdservices","followers_url":"https://api.github.com/users/lcdservices/followers","following_url":"https://api.github.com/users/lcdservices/following{/other_user}","gists_url":"https://api.github.com/users/lcdservices/gists{/gist_id}","starred_url":"https://api.github.com/users/lcdservices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcdservices/subscriptions","organizations_url":"https://api.github.com/users/lcdservices/orgs","repos_url":"https://api.github.com/users/lcdservices/repos","events_url":"https://api.github.com/users/lcdservices/events{/privacy}","received_events_url":"https://api.github.com/users/lcdservices/received_events","type":"User","site_admin":false},"labels":[{"id":246037889,"url":"https://api.github.com/repos/civicrm/civicrm-core/labels/master","name":"master","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-12T16:24:37Z","updated_at":"2018-04-16T23:18:25Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/11971","html_url":"https://github.com/civicrm/civicrm-core/pull/11971","diff_url":"https://github.com/civicrm/civicrm-core/pull/11971.diff","patch_url":"https://github.com/civicrm/civicrm-core/pull/11971.patch"},"body":"Overview\r\n----------------------------------------\r\nWhen sending out an email invoice, email validation error is thrown.\r\n\r\nBefore\r\n----------------------------------------\r\nWith invoicing enabled, view a contribution and choose to email invoice. Select a from address and submit the form. An error is returned indicating email verification failed.\r\n\r\nAfter\r\n----------------------------------------\r\nThe above works properly.\r\n\r\nTechnical Details\r\n----------------------------------------\r\nThe from email address was set using the option list label instead of the value. The label is URL encoded for display on screen. The encoding triggered the validation failure. This patch retrieves the value instead of the label and sets a default value.\r\n"},"comment":{"url":"https://api.github.com/repos/civicrm/civicrm-core/issues/comments/381779594","html_url":"https://github.com/civicrm/civicrm-core/pull/11971#issuecomment-381779594","issue_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/11971","id":381779594,"user":{"login":"lcdservices","id":366478,"avatar_url":"https://avatars3.githubusercontent.com/u/366478?v=4","gravatar_id":"","url":"https://api.github.com/users/lcdservices","html_url":"https://github.com/lcdservices","followers_url":"https://api.github.com/users/lcdservices/followers","following_url":"https://api.github.com/users/lcdservices/following{/other_user}","gists_url":"https://api.github.com/users/lcdservices/gists{/gist_id}","starred_url":"https://api.github.com/users/lcdservices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcdservices/subscriptions","organizations_url":"https://api.github.com/users/lcdservices/orgs","repos_url":"https://api.github.com/users/lcdservices/repos","events_url":"https://api.github.com/users/lcdservices/events{/privacy}","received_events_url":"https://api.github.com/users/lcdservices/received_events","type":"User","site_admin":false},"created_at":"2018-04-16T23:18:25Z","updated_at":"2018-04-16T23:18:25Z","author_association":"CONTRIBUTOR","body":"@eileenmcnaughton yes, it's good to go"}}
{"actor":{"display_login":"lcdservices"}}