{"action":"closed","issue":{"url":"https://api.github.com/repos/reactioncommerce/reaction/issues/4157","repository_url":"https://api.github.com/repos/reactioncommerce/reaction","labels_url":"https://api.github.com/repos/reactioncommerce/reaction/issues/4157/labels{/name}","comments_url":"https://api.github.com/repos/reactioncommerce/reaction/issues/4157/comments","events_url":"https://api.github.com/repos/reactioncommerce/reaction/issues/4157/events","html_url":"https://github.com/reactioncommerce/reaction/issues/4157","id":311492975,"node_id":"MDU6SXNzdWUzMTE0OTI5NzU=","number":4157,"title":"Receive error in server console when placing an order","user":{"login":"zenweasel","id":72819,"node_id":"MDQ6VXNlcjcyODE5","avatar_url":"https://avatars1.githubusercontent.com/u/72819?v=4","gravatar_id":"","url":"https://api.github.com/users/zenweasel","html_url":"https://github.com/zenweasel","followers_url":"https://api.github.com/users/zenweasel/followers","following_url":"https://api.github.com/users/zenweasel/following{/other_user}","gists_url":"https://api.github.com/users/zenweasel/gists{/gist_id}","starred_url":"https://api.github.com/users/zenweasel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenweasel/subscriptions","organizations_url":"https://api.github.com/users/zenweasel/orgs","repos_url":"https://api.github.com/users/zenweasel/repos","events_url":"https://api.github.com/users/zenweasel/events{/privacy}","received_events_url":"https://api.github.com/users/zenweasel/received_events","type":"User","site_admin":false},"labels":[{"id":377481506,"node_id":"MDU6TGFiZWwzNzc0ODE1MDY=","url":"https://api.github.com/repos/reactioncommerce/reaction/labels/bug","name":"bug","color":"ff3737","default":true},{"id":630092547,"node_id":"MDU6TGFiZWw2MzAwOTI1NDc=","url":"https://api.github.com/repos/reactioncommerce/reaction/labels/impact-critical","name":"impact-critical","color":"b60205","default":false},{"id":310574427,"node_id":"MDU6TGFiZWwzMTA1NzQ0Mjc=","url":"https://api.github.com/repos/reactioncommerce/reaction/labels/needs-to-be-reproduced","name":"needs-to-be-reproduced","color":"5319e7","default":false},{"id":890714636,"node_id":"MDU6TGFiZWw4OTA3MTQ2MzY=","url":"https://api.github.com/repos/reactioncommerce/reaction/labels/release-blocker","name":"release-blocker","color":"a0daef","default":false}],"state":"closed","locked":false,"assignee":{"login":"ajporlante","id":10388757,"node_id":"MDQ6VXNlcjEwMzg4NzU3","avatar_url":"https://avatars0.githubusercontent.com/u/10388757?v=4","gravatar_id":"","url":"https://api.github.com/users/ajporlante","html_url":"https://github.com/ajporlante","followers_url":"https://api.github.com/users/ajporlante/followers","following_url":"https://api.github.com/users/ajporlante/following{/other_user}","gists_url":"https://api.github.com/users/ajporlante/gists{/gist_id}","starred_url":"https://api.github.com/users/ajporlante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajporlante/subscriptions","organizations_url":"https://api.github.com/users/ajporlante/orgs","repos_url":"https://api.github.com/users/ajporlante/repos","events_url":"https://api.github.com/users/ajporlante/events{/privacy}","received_events_url":"https://api.github.com/users/ajporlante/received_events","type":"User","site_admin":false},"assignees":[{"login":"ajporlante","id":10388757,"node_id":"MDQ6VXNlcjEwMzg4NzU3","avatar_url":"https://avatars0.githubusercontent.com/u/10388757?v=4","gravatar_id":"","url":"https://api.github.com/users/ajporlante","html_url":"https://github.com/ajporlante","followers_url":"https://api.github.com/users/ajporlante/followers","following_url":"https://api.github.com/users/ajporlante/following{/other_user}","gists_url":"https://api.github.com/users/ajporlante/gists{/gist_id}","starred_url":"https://api.github.com/users/ajporlante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajporlante/subscriptions","organizations_url":"https://api.github.com/users/ajporlante/orgs","repos_url":"https://api.github.com/users/ajporlante/repos","events_url":"https://api.github.com/users/ajporlante/events{/privacy}","received_events_url":"https://api.github.com/users/ajporlante/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-04-05T06:57:37Z","updated_at":"2018-06-25T05:59:26Z","closed_at":"2018-06-25T05:59:26Z","author_association":"MEMBER","body":"## Issue Description\r\nReceive the following error in the server console when placing an order\r\n```\r\n06:50:30.725Z ERROR Reaction: Error in orders/sendNotification for order Mw9LLqsGkm2N6vrrq\r\n  Error: Can't wait without a fiber\r\n      at Function.wait (/Users/brenthoover/.meteor/packages/meteor-tool/.1.6.1.xbgv5v.yxdmr++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:159:9)\r\n      at Future.wait (/Users/brenthoover/.meteor/packages/meteor-tool/.1.6.1.xbgv5v.yxdmr++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:448:10)\r\n      at SynchronousCursor._nextObject (packages/mongo/mongo_driver.js:1018:47)\r\n      at SynchronousCursor.forEach (packages/mongo/mongo_driver.js:1052:22)\r\n      at SynchronousCursor.map (packages/mongo/mongo_driver.js:1062:10)\r\n      at SynchronousCursor.fetch (packages/mongo/mongo_driver.js:1086:17)\r\n      at Cursor.(anonymous function) [as fetch] (packages/mongo/mongo_driver.js:876:44)\r\n      at MongoConnection.findOne (packages/mongo/mongo_driver.js:783:56)\r\n      at Collection.findOne (packages/mongo/collection.js:351:29)\r\n      at /Users/brenthoover/Projects/js/reaction/node_modules/@reactioncommerce/file-collections/dist/node/MeteorFileCollection.js:145:40\r\n      at new Promise (<anonymous>)\r\n<snip>\r\n```\r\n\r\n\r\n## Steps to Reproduce\r\n1. Configure shipping and payment method (I tested Stripe and Braintree)\r\n1. Add a product to cart and checkout\r\n1. Observe error in server console\r\n1. Observe confirmation email is never sent\r\n\r\n**Note:** Akarshit is not seeing this error so it would be helpful for someone to reproduce this\r\n\r\n### Versions\r\n```\r\nNode: 8.9.4\r\nNPM: 5.6.0\r\nMeteor Node: 8.9.4\r\nMeteor NPM: 5.6.0\r\nReaction CLI: 0.29.0\r\nReaction: 1.11.0\r\nReaction branch: release-1.11.0\r\nDocker: 18.03.0-ce\r\n```\r\n"}}
{"actor":{"display_login":"ajporlante"}}