danlg / lgen

lgen
MIT License
2 stars 1 forks source link

[App]: Issue with vote: smartix:messages-addons-poll/castVote #643

Open danlg opened 8 years ago

danlg commented 8 years ago
[2016-09-12 10:10:15.569] [INFO] lg - publishComposite:chatRoomWithUse xKfnQgPuC4YPaMJ43
Exception while invoking method 'smartix:messages-addons-poll/castVote' TypeError: Cannot read property 'expires' of undefined
    at Object.Smartix.Messages.Addons.Poll.canChangeVotes (packages/smartix:messages-addons-poll/server/messages-addons-poll.js:38:8)
    at [object Object].Smartix.Messages.Addons.Poll.castVote (packages/smartix:messages-addons-poll/server/messages-addons-poll.js:276:44)
    at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1704:12)
    at packages/ddp-server/livedata_server.js:711:19
    at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
    at packages/ddp-server/livedata_server.js:709:40
    at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
    at packages/ddp-server/livedata_server.js:707:46
    at tryCallTwo (/opt/carmel/app.1.2.2.b341/programs/server/npm/node_modules/meteor/promise/node_modules/promise/lib/core.js:45:5)
    at doResolve (/opt/carmel/app.1.2.2.b341/programs/server/npm/node_modules/meteor/promise/node_modules/promise/lib/core.js:200:13)