{"action":"created","issue":{"url":"https://api.github.com/repos/OfficeDev/office-js/issues/486","repository_url":"https://api.github.com/repos/OfficeDev/office-js","labels_url":"https://api.github.com/repos/OfficeDev/office-js/issues/486/labels{/name}","comments_url":"https://api.github.com/repos/OfficeDev/office-js/issues/486/comments","events_url":"https://api.github.com/repos/OfficeDev/office-js/issues/486/events","html_url":"https://github.com/OfficeDev/office-js/issues/486","id":437522868,"node_id":"MDU6SXNzdWU0Mzc1MjI4Njg=","number":486,"title":"[Outlook] The mailbox.item.to.getAsync property returns no value when add-in is opened for the first time","user":{"login":"splinter","id":53738,"node_id":"MDQ6VXNlcjUzNzM4","avatar_url":"https://avatars3.githubusercontent.com/u/53738?v=4","gravatar_id":"","url":"https://api.github.com/users/splinter","html_url":"https://github.com/splinter","followers_url":"https://api.github.com/users/splinter/followers","following_url":"https://api.github.com/users/splinter/following{/other_user}","gists_url":"https://api.github.com/users/splinter/gists{/gist_id}","starred_url":"https://api.github.com/users/splinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splinter/subscriptions","organizations_url":"https://api.github.com/users/splinter/orgs","repos_url":"https://api.github.com/users/splinter/repos","events_url":"https://api.github.com/users/splinter/events{/privacy}","received_events_url":"https://api.github.com/users/splinter/received_events","type":"User","site_admin":false},"labels":[{"id":746898661,"node_id":"MDU6TGFiZWw3NDY4OTg2NjE=","url":"https://api.github.com/repos/OfficeDev/office-js/labels/Area:%20Outlook","name":"Area: Outlook","color":"1d76db","default":false},{"id":746898733,"node_id":"MDU6TGFiZWw3NDY4OTg3MzM=","url":"https://api.github.com/repos/OfficeDev/office-js/labels/Needs:%20author%20feedback","name":"Needs: author feedback","color":"650b9e","default":false},{"id":1522239119,"node_id":"MDU6TGFiZWwxNTIyMjM5MTE5","url":"https://api.github.com/repos/OfficeDev/office-js/labels/Status:%20no%20recent%20activity","name":"Status: no recent activity","color":"a9a9a9","default":false},{"id":746898676,"node_id":"MDU6TGFiZWw3NDY4OTg2NzY=","url":"https://api.github.com/repos/OfficeDev/office-js/labels/Type:%20product%20bug","name":"Type: product bug","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":{"login":"exextoc","id":28549921,"node_id":"MDQ6VXNlcjI4NTQ5OTIx","avatar_url":"https://avatars1.githubusercontent.com/u/28549921?v=4","gravatar_id":"","url":"https://api.github.com/users/exextoc","html_url":"https://github.com/exextoc","followers_url":"https://api.github.com/users/exextoc/followers","following_url":"https://api.github.com/users/exextoc/following{/other_user}","gists_url":"https://api.github.com/users/exextoc/gists{/gist_id}","starred_url":"https://api.github.com/users/exextoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exextoc/subscriptions","organizations_url":"https://api.github.com/users/exextoc/orgs","repos_url":"https://api.github.com/users/exextoc/repos","events_url":"https://api.github.com/users/exextoc/events{/privacy}","received_events_url":"https://api.github.com/users/exextoc/received_events","type":"User","site_admin":false},"assignees":[{"login":"exextoc","id":28549921,"node_id":"MDQ6VXNlcjI4NTQ5OTIx","avatar_url":"https://avatars1.githubusercontent.com/u/28549921?v=4","gravatar_id":"","url":"https://api.github.com/users/exextoc","html_url":"https://github.com/exextoc","followers_url":"https://api.github.com/users/exextoc/followers","following_url":"https://api.github.com/users/exextoc/following{/other_user}","gists_url":"https://api.github.com/users/exextoc/gists{/gist_id}","starred_url":"https://api.github.com/users/exextoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exextoc/subscriptions","organizations_url":"https://api.github.com/users/exextoc/orgs","repos_url":"https://api.github.com/users/exextoc/repos","events_url":"https://api.github.com/users/exextoc/events{/privacy}","received_events_url":"https://api.github.com/users/exextoc/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2019-04-26T06:45:33Z","updated_at":"2019-09-09T22:00:31Z","closed_at":null,"author_association":"NONE","body":"The to addresses list is empty when the following snippet of code is executed the first time\r\nthe add-in is loaded in compose mode for a mail item [1]:\r\n\r\n```js\r\n  Office.context.mailbox.item.to.getAsync(callback);\r\n```\r\n\r\nThis behaviour seems to be intermittent.I have not been able to identify any pattern for the conditions which cause this issue.\r\n\r\n## Expected Behavior\r\nThe to address list should be always populated with addresses entered in the mail item compose form.\r\n\r\n## Current Behavior\r\nThe to address list is empty during the first invocation intermittently. \r\n\r\n## Steps to Reproduce, or Live Example\r\n1. Open the compose mail item view\r\n2. Enter an email address in the to field\r\n3. Open an Outlook add-in\r\n4. Attempt to fetch to addresses with [1]\r\n\r\n\r\n\r\n## Context\r\nThe users are not able to interact with the to addresses within the add-in unless they close\r\nand open the add-in again or manually initiate an action to reload the addresses list.\r\n\r\n\r\n## Your Environment\r\n* Platform [PC desktop, Mac, iOS, Office Online]: Windows\r\n* Host [Excel, Word, PowerPoint, etc.]: Outlook 2016\r\n* Office version number: 1903 (Build 11425.20228)\r\n* Operating System: Windows 10\r\n\r\n\r\n## References\r\n[1] https://docs.microsoft.com/en-us/office/dev/add-ins/reference/objectmodel/requirement-set-1.5/office.context.mailbox.item?view=office-js#compose-mode-7\r\n"},"comment":{"url":"https://api.github.com/repos/OfficeDev/office-js/issues/comments/529684134","html_url":"https://github.com/OfficeDev/office-js/issues/486#issuecomment-529684134","issue_url":"https://api.github.com/repos/OfficeDev/office-js/issues/486","id":529684134,"node_id":"MDEyOklzc3VlQ29tbWVudDUyOTY4NDEzNA==","user":{"login":"msftbot[bot]","id":48340428,"node_id":"MDM6Qm90NDgzNDA0Mjg=","avatar_url":"https://avatars2.githubusercontent.com/in/26612?v=4","gravatar_id":"","url":"https://api.github.com/users/msftbot%5Bbot%5D","html_url":"https://github.com/apps/msftbot","followers_url":"https://api.github.com/users/msftbot%5Bbot%5D/followers","following_url":"https://api.github.com/users/msftbot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/msftbot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/msftbot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msftbot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/msftbot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/msftbot%5Bbot%5D/repos","events_url":"https://api.github.com/users/msftbot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/msftbot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2019-09-09T22:00:31Z","updated_at":"2019-09-09T22:00:31Z","author_association":"NONE","body":"This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue."}}
{"actor":{"display_login":"msftbot"}}