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

ERROR in new meteor version: TypeError: Cannot read property 'apply' of undefined

Open
#423 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

When I upgraded from Meteor 1.6.1 to 1.8, I get js console errors on a tabular table when the table attempts to render, see below.

Also, is tabular still the best tool for generating meteor tables, or has it been superseded by something else by this point?

Thanks!

Exception from Tracker afterFlush function:
meteor.js?hash=0504f43f667698535416b00eb44eb6f53161cb63:1048 TypeError: Cannot read property 'apply' of undefined
at ReactiveDict.PersistentSession.old_get (u2622_persistent-session.js?hash=51ba96490b2d4359b019a85b03ec55299bc52e95:241)
at ReactiveDict._psGet [as get] (u2622_persistent-session.js?hash=51ba96490b2d4359b019a85b03ec55299bc52e95:244)
at aldeed_tabular.js?hash=aa46a99af86df62ca6aec588e2847409037d824c:422
at Object.Tracker.nonreactive (tracker.js?hash=725573cf35451add9ec258f882b90fd0455ebc45:626)
at Blaze.View.template.autorun.c (aldeed_tabular.js?hash=aa46a99af86df62ca6aec588e2847409037d824c:421)
at blaze.js?hash=adc5286b78e5c0f8e7f56a602f77eefb5def6bf1:1934
at Function.Template._withTemplateInstanceFunc (blaze.js?hash=adc5286b78e5c0f8e7f56a602f77eefb5def6bf1:3769)
at blaze.js?hash=adc5286b78e5c0f8e7f56a602f77eefb5def6bf1:1932
at Object.Blaze._withCurrentView (blaze.js?hash=adc5286b78e5c0f8e7f56a602f77eefb5def6bf1:2271)
at viewAutorun (blaze.js?hash=adc5286b78e5c0f8e7f56a602f77eefb5def6bf1:1931)

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 by reproducing the rendering failure after upgrading from Meteor 1.6.1 to 1.8, then trace the reported call through u2622_persistent-session.js and aldeed_tabular.js. Check the ReactiveDict.PersistentSession.old_get and tabular rendering paths shown in the stack trace; done means the table renders without the TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
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.