Meteor-Community-Packages / Meteor-Community-Packages/meteor-tabular

how to use meteor-tabular when i using DDP!!!

Open
#365 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
360
Forks
132
PR merge metrics
No merged PRs in 30d

Description

I use meteor-tabular as usual, but I get an error:
`I20161128-10:34:13.049(8)? Exception from sub tabular_getInfo id ZaxT5aqxPXxqCuSc3 Error: must use ordered observe (ie, 'addedBefore' instead of 'added') with skip or limit
I20161128-10:34:13.052(8)? at [object Object]._.extend.observeChanges (packages/minimongo/minimongo.js:325:1)
I20161128-10:34:13.053(8)? at Subscription._handler (packages/aldeed_tabular/server/tabular.js:153:1)
I20161128-10:34:13.053(8)? at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1711:12)
I20161128-10:34:13.054(8)? at Subscription._runHandler (packages/ddp-server/livedata_server.js:1026:17)
I20161128-10:34:13.054(8)? at Session._startSubscription (packages/ddp-server/livedata_server.js:845:9)
I20161128-10:34:13.056(8)? at Session.sub (packages/ddp-server/livedata_server.js:617:12)
I20161128-10:34:13.056(8)? at packages/ddp-server/livedata_server.js:551:43`

Does anyone use meteor-tabular successfully with DDP?

----------------------------------------------
I upgraded to the latest version 2.1.1 from 1.6.
No error being given, but I can not get any data from the DDP and show "Processing..."

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with packages/aldeed_tabular/server/tabular.js at the Subscription._handler line in the stack trace, then inspect packages/minimongo/minimongo.js around observeChanges. Reproduce the reported DDP subscription with meteor-tabular 2.1.1 and compare it with 1.6. Done means determining whether DDP is supported and either restoring returned data or documenting the limitation and expected setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.