Closed
Description
When I reorder my lists in meteor, the order fields are all set to the same value after dragging-and-dropping the elements. The orders start out distinct, but after playing with the ordering on the client all of the order attributes are set to the same values.
This may be related to issue #287 or #197.
After scrambling elements in UI:
Also, I'm getting this error in the meteor console when I reorder:
I20150523-12:53:38.081(-6)? Exception while invoking method 'rubaxa:sortable/collection-update' Error: Match error: Expected string, got object in field [0]
I20150523-12:53:38.081(-6)? at checkSubtree (packages/check/match.js:159:1)
I20150523-12:53:38.081(-6)? at packages/check/match.js:206:1
I20150523-12:53:38.081(-6)? at Array.forEach (native)
I20150523-12:53:38.081(-6)? at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
I20150523-12:53:38.082(-6)? at checkSubtree (packages/check/match.js:204:1)
I20150523-12:53:38.082(-6)? at check (packages/check/match.js:32:1)
I20150523-12:53:38.082(-6)? at [object Object].Meteor.methods.rubaxa:sortable/collection-update (packages/rubaxa:sortable/meteor/methods.js:13:1)
I20150523-12:53:38.082(-6)? at maybeAuditArgumentChecks (packages/ddp/livedata_server.js:1617:1)
I20150523-12:53:38.082(-6)? at packages/ddp/livedata_server.js:648:1
I20150523-12:53:38.082(-6)? at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
I20150523-12:53:38.083(-6)? Sanitized and reported to the client as: Match failed [400]
I20150523-12:53:38.083(-6)?
Any help with this would be greatly appreciated.
Metadata
Metadata
Assignees
Labels
No labels