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

passing raw query replacements as the 4th argument to sequelize.query is deprecated. Please use options.replacements instead #597

Closed
fengmk2 opened this Issue Feb 11, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@fengmk2
Member

fengmk2 commented Feb 11, 2015

No description provided.

@fengmk2 fengmk2 added the bug label Feb 11, 2015

@fengmk2

This comment has been minimized.

Member

fengmk2 commented Feb 11, 2015

TypeError: Cannot read property '0' of undefined
    at /Users/mk2/git/cnpmjs.org/services/package.js:177:23
    at Array.filter (native)
    at Object.exports.listPublicModuleNamesByUser (/Users/mk2/git/cnpmjs.org/services/package.js:176:6)
    at GeneratorFunctionPrototype.next (native)
    at onFulfilled (/Users/mk2/git/cnpmjs.org/node_modules/co/index.js:59:19)
    at tryCatch1 (/Users/mk2/git/cnpmjs.org/node_modules/sequelize/node_modules/bluebird/js/main/util.js:45:21)
    at Promise._callHandler (/Users/mk2/git/cnpmjs.org/node_modules/sequelize/node_modules/bluebird/js/main/promise.js:571:13)
    at Promise._settlePromiseFromHandler (/Users/mk2/git/cnpmjs.org/node_modules/sequelize/node_modules/bluebird/js/main/promise.js:581:18)
    at Promise._settlePromiseAt (/Users/mk2/git/cnpmjs.org/node_modules/sequelize/node_modules/bluebird/js/main/promise.js:713:18)
    at Promise._settlePromiseAt (/Users/mk2/git/cnpmjs.org/node_modules/sequelize/lib/promise.js:76:18)
    at Promise._settlePromises (/Users/mk2/git/cnpmjs.org/node_modules/sequelize/node_modules/bluebird/js/main/promise.js:854:14)
    at Async._consumeFunctionBuffer (/Users/mk2/git/cnpmjs.org/node_modules/sequelize/node_modules/bluebird/js/main/async.js:85:12)
    at Async.consumeFunctionBuffer (/Users/mk2/git/cnpmjs.org/node_modules/sequelize/node_modules/bluebird/js/main/async.js:40:14)
    at process._tickCallback (node.js:337:11)

@fengmk2 fengmk2 self-assigned this Feb 13, 2015

@fengmk2 fengmk2 added this to the 2.0 milestone Feb 13, 2015

@fengmk2 fengmk2 closed this in e5a9a22 Feb 13, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment