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

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
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 added a commit that closed this issue Feb 13, 2015
@fengmk2 fengmk2 fix #597 sequelize raw query. e5a9a22
@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