-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I don't remember which version of Sails we was using, but now when I installed sails on my server I got 0.10.5
I got some errors, for example when creating a team:
Error: Invalid usage of publishCreate() :: Values must have an `id`, instead got ::
{ name: '[Team Name]',
country: '?',
category: 'default',
createdAt: Fri Jan 02 2015 14:30:30 GMT+0000 (UTC),
updatedAt: Fri Jan 02 2015 14:30:30 GMT+0000 (UTC) }
at Object.publishCreate (/home/fredrik/tournamenter/node_modules/sails/lib/hooks/pubsub/index.js:232:12)
at bound [as publishCreate] (/home/fredrik/tournamenter/node_modules/sails/node_modules/lodash/dist/lodash.js:491:21)
at /home/fredrik/tournamenter/node_modules/sails/lib/hooks/controllers/controller.create.js:54:11
at /home/fredrik/tournamenter/node_modules/sails/node_modules/waterline/lib/waterline/query/dql.js:123:11
at /home/fredrik/tournamenter/node_modules/async/lib/async.js:139:25
at /home/fredrik/tournamenter/node_modules/sails/node_modules/waterline/lib/waterline/query/dql.js:113:13
at /home/fredrik/tournamenter/node_modules/sails/node_modules/waterline/lib/waterline/utils/schema.js:137:39
at runner (/home/fredrik/tournamenter/node_modules/sails/node_modules/waterline/lib/waterline/query/dql.js:111:11)
at iterate (/home/fredrik/tournamenter/node_modules/async/lib/async.js:131:13)
at Object.async.eachSeries (/home/fredrik/tournamenter/node_modules/async/lib/async.js:147:9)
Should we update the code to works out of the box with newer Sails? Or is this a problem with something else not related to the version?
PS. I'm starting to port my map editor for Rescue :)
Metadata
Metadata
Assignees
Labels
No labels