Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search related order workflow error #1454

Closed
aaronjudd opened this issue Sep 30, 2016 · 1 comment
Closed

search related order workflow error #1454

aaronjudd opened this issue Sep 30, 2016 · 1 comment
Assignees
Labels
bug For issues that describe a defect or regression in the released software
Milestone

Comments

@aaronjudd
Copy link
Contributor

aaronjudd commented Sep 30, 2016

In development branch, attempting to approve payment (order fulfillment workflow), search causes an exception:

I20160930-08:56:31.353(-7)? Exception while invoking method 'workflow/pushOrderWorkflow' TypeError: Cannot read property 'emails' of undefined
I20160930-08:56:31.353(-7)?     at buildOrderSearchRecord (imports/plugins/included/search-mongo/server/methods/searchcollections.js:170:23)
I20160930-08:56:31.354(-7)?     at Object.<anonymous> (imports/plugins/included/search-mongo/server/hooks/search.js:46:5)
I20160930-08:56:31.354(-7)?     at packages/matb33_collection-hooks/update.js:70:1
I20160930-08:56:31.354(-7)?     at Array.forEach (native)
I20160930-08:56:31.354(-7)?     at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
I20160930-08:56:31.355(-7)?     at packages/matb33_collection-hooks/update.js:69:1
I20160930-08:56:31.355(-7)?     at Array.forEach (native)
I20160930-08:56:31.355(-7)?     at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
I20160930-08:56:31.356(-7)?     at after (packages/matb33_collection-hooks/update.js:68:1)
I20160930-08:56:31.356(-7)?     at Object.<anonymous> (packages/matb33_collection-hooks/update.js:89:1)
I20160930-08:56:31.359(-7)?     at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks/collection-hooks.js:120:1)
I20160930-08:56:31.359(-7)?     at [object Object].update (packages/mongo/collection.js:589:29)
I20160930-08:56:31.360(-7)?     at [object Object].Mongo.Collection.(anonymous function) [as update] (packages/aldeed_collection2-core/lib/collection2.js:203:1)
I20160930-08:56:31.360(-7)?     at [object Object].workflowPushOrderWorkflow (imports/plugins/core/checkout/server/methods/workflow.js:271:27)
I20160930-08:56:31.361(-7)?     at packages/check/match.js:107:1
I20160930-08:56:31.361(-7)?     at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
I20160930-08:56:31.362(-7)?     at Object.exports.Match._failIfArgumentsAreNotAllChecked (packages/check/match.js:106:1)
I20160930-08:56:31.363(-7)?     at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1708:18)
I20160930-08:56:31.363(-7)?     at packages/ddp-server/livedata_server.js:711:19
I20160930-08:56:31.364(-7)?     at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
I20160930-08:56:31.364(-7)?     at packages/ddp-server/livedata_server.js:709:40
I20160930-08:56:31.364(-7)?     at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
I20160930-08:56:33.506(-7)? Exception while invoking method 'orders/approvePayment' TypeError: Cannot read property 'emails' of undefined
I20160930-08:56:33.507(-7)?     at buildOrderSearchRecord (imports/plugins/included/search-mongo/server/methods/searchcollections.js:170:23)
I20160930-08:56:33.507(-7)?     at Object.<anonymous> (imports/plugins/included/search-mongo/server/hooks/search.js:46:5)
I20160930-08:56:33.507(-7)?     at packages/matb33_collection-hooks/update.js:70:1
I20160930-08:56:33.507(-7)?     at Array.forEach (native)
I20160930-08:56:33.508(-7)?     at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
I20160930-08:56:33.508(-7)?     at packages/matb33_collection-hooks/update.js:69:1
I20160930-08:56:33.509(-7)?     at Array.forEach (native)
I20160930-08:56:33.509(-7)?     at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
I20160930-08:56:33.509(-7)?     at after (packages/matb33_collection-hooks/update.js:68:1)
I20160930-08:56:33.509(-7)?     at Object.<anonymous> (packages/matb33_collection-hooks/update.js:89:1)
I20160930-08:56:33.509(-7)?     at Object.collection.(anonymous function) [as update] (packages/matb33_collection-hooks/collection-hooks.js:120:1)
I20160930-08:56:33.510(-7)?     at [object Object].update (packages/mongo/collection.js:589:29)
I20160930-08:56:33.510(-7)?     at [object Object].Mongo.Collection.(anonymous function) [as update] (packages/aldeed_collection2-core/lib/collection2.js:203:1)
@aaronjudd aaronjudd added this to the v0.17.0 milestone Sep 30, 2016
@aaronjudd aaronjudd added the bug For issues that describe a defect or regression in the released software label Sep 30, 2016
@ghost ghost added the review label Oct 2, 2016
@brent-hoover
Copy link
Collaborator

Closed via #1460

@ghost ghost removed the review label Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For issues that describe a defect or regression in the released software
Projects
None yet
Development

No branches or pull requests

3 participants