Skip to content

Instantly share code, notes, and snippets.

@grdryn
Created April 18, 2017 09:58
Show Gist options
  • Save grdryn/c80a0dbf171007c1ba8ef9ad0bc435e0 to your computer and use it in GitHub Desktop.
Save grdryn/c80a0dbf171007c1ba8ef9ad0bc435e0 to your computer and use it in GitHub Desktop.
Unhandled rejection ValidationError: Workorder validation failed
at MongooseError.ValidationError (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/node_modules/mongoose/lib/error/validation.js:23:11)
at model.Document.invalidate (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/node_modules/mongoose/lib/document.js:1535:32)
at model.Document.set (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/node_modules/mongoose/lib/document.js:777:10)
at model._handleIndex (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/node_modules/mongoose/lib/document.js:623:14)
at model.Document.set (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/node_modules/mongoose/lib/document.js:583:24)
at model.Document (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/node_modules/mongoose/lib/document.js:71:12)
at model.Model (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/node_modules/mongoose/lib/model.js:51:12)
at new model (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/node_modules/mongoose/lib/model.js:3571:13)
at Store.create (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/lib/mongoose-store.js:38:16)
at Topics.<anonymous> (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/lib/listen.js:16:14)
at Object.<anonymous> (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mediator/lib/topics/index.js:93:31)
at Channel.publish (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mediator/node_modules/mediator-js/lib/mediator.js:232:23)
at Mediator.publish (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mediator/node_modules/mediator-js/lib/mediator.js:360:13)
at Mediator.request (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mediator/lib/mediator.js:96:16)
at Topics.request (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mediator/lib/topics/index.js:159:24)
at Topics.<anonymous> (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-workorder/lib/cloud/index.js:25:30)
at Object.<anonymous> (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mediator/lib/topics/index.js:93:31)
at Channel.publish (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mediator/node_modules/mediator-js/lib/mediator.js:232:23)
at Mediator.publish (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mediator/node_modules/mediator-js/lib/mediator.js:360:13)
at Mediator.request (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mediator/lib/mediator.js:96:16)
at Object.dataCreateHandler [as createHandler] (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-sync/lib/server.js:27:14)
at /home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-mbaas-api/lib/sync-DataSetModel.js:123:17
at Object.self.getDataset (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-mbaas-api/lib/sync-DataSetModel.js:244:16)
at Object.self.doCreateHandler (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-mbaas-api/lib/sync-DataSetModel.js:120:10)
at /home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-mbaas-api/lib/sync-srv.js:291:26
at iterate (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-mbaas-api/node_modules/async/lib/async.js:131:13)
at Object.async.eachSeries (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-mbaas-api/node_modules/async/lib/async.js:147:9)
at /home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-mbaas-api/lib/sync-srv.js:241:13
at fn (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-mbaas-api/node_modules/async/lib/async.js:579:34)
at Immediate._onImmediate (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-mbaas-api/node_modules/async/lib/async.js:495:34)
at processImmediate [as _immediateCallback] (timers.js:383:17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment