{"action":"created","issue":{"url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/issues/119","repository_url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce","labels_url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/issues/119/comments","events_url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/issues/119/events","html_url":"https://github.com/MinnPost/object-sync-for-salesforce/issues/119","id":271612753,"number":119,"title":"Meta fields can't be accessed unless they already exist in the database","user":{"login":"jonathanstegall","id":435342,"avatar_url":"https://avatars3.githubusercontent.com/u/435342?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanstegall","html_url":"https://github.com/jonathanstegall","followers_url":"https://api.github.com/users/jonathanstegall/followers","following_url":"https://api.github.com/users/jonathanstegall/following{/other_user}","gists_url":"https://api.github.com/users/jonathanstegall/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanstegall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanstegall/subscriptions","organizations_url":"https://api.github.com/users/jonathanstegall/orgs","repos_url":"https://api.github.com/users/jonathanstegall/repos","events_url":"https://api.github.com/users/jonathanstegall/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanstegall/received_events","type":"User","site_admin":false},"labels":[{"id":393782922,"url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true},{"id":393782924,"url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/milestones/3","html_url":"https://github.com/MinnPost/object-sync-for-salesforce/milestone/3","labels_url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/milestones/3/labels","id":2171401,"number":3,"title":"v2","description":"Stuff we can put off until later, but should definitely do. It may or may not actually be in version 2. It could be any version.","creator":{"login":"jonathanstegall","id":435342,"avatar_url":"https://avatars3.githubusercontent.com/u/435342?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanstegall","html_url":"https://github.com/jonathanstegall","followers_url":"https://api.github.com/users/jonathanstegall/followers","following_url":"https://api.github.com/users/jonathanstegall/following{/other_user}","gists_url":"https://api.github.com/users/jonathanstegall/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanstegall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanstegall/subscriptions","organizations_url":"https://api.github.com/users/jonathanstegall/orgs","repos_url":"https://api.github.com/users/jonathanstegall/repos","events_url":"https://api.github.com/users/jonathanstegall/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanstegall/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":6,"state":"open","created_at":"2016-12-02T15:31:52Z","updated_at":"2017-11-06T20:39:55Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-11-06T20:39:55Z","updated_at":"2017-11-09T21:16:56Z","closed_at":null,"author_association":"OWNER","body":"When you go to create a fieldmap, if the WordPress object you are mapping has custom meta fields (such as `wp_postmeta`, `wp_termmeta`, etc.) each field will only show up in the dropdown for mappable fields if there is at least one value in the database for that field.\r\n\r\nThat is, if you want to map a user zip code, you have to have at least one user that has at least a blank value for zip code.\r\n\r\nThis is not easy to address because:\r\n\r\n1. The database does not store a list of all meta fields; our current query gets distinct fields that have values.\r\n2. The WordPress codebase for meta fields does not store a list of all meta fields.\r\n\r\nEither of these would fix this problem. I am not sure whether such a thing is in the scope of this plugin, but I want to put it out there anyway."},"comment":{"url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/issues/comments/343294233","html_url":"https://github.com/MinnPost/object-sync-for-salesforce/issues/119#issuecomment-343294233","issue_url":"https://api.github.com/repos/MinnPost/object-sync-for-salesforce/issues/119","id":343294233,"user":{"login":"jonathanstegall","id":435342,"avatar_url":"https://avatars3.githubusercontent.com/u/435342?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanstegall","html_url":"https://github.com/jonathanstegall","followers_url":"https://api.github.com/users/jonathanstegall/followers","following_url":"https://api.github.com/users/jonathanstegall/following{/other_user}","gists_url":"https://api.github.com/users/jonathanstegall/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanstegall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanstegall/subscriptions","organizations_url":"https://api.github.com/users/jonathanstegall/orgs","repos_url":"https://api.github.com/users/jonathanstegall/repos","events_url":"https://api.github.com/users/jonathanstegall/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanstegall/received_events","type":"User","site_admin":false},"created_at":"2017-11-09T21:16:56Z","updated_at":"2017-11-09T21:16:56Z","author_association":"OWNER","body":"The above pull request addresses this issue **only** if it is caused by cache."}}
{"actor":{"display_login":"jonathanstegall"}}