Meteor-Community-Packages / Meteor-Community-Packages/meteor-tabular
"must pass Tabular.Table instance" error in Cordova apps
- Dominant language
- JavaScript
- Stars
- 360
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
I'm using meteor 1.5.1 with tabular v2.1.1. My application works fine on web, but on cordova, I get the error: "You must pass Tabular.Table instance as the table attribute".
I read through the comment section in #91 and I've changed the structure of my Object to:
Template.registerHelper('TabTables', {
mytable: function () { return TabTables.mytable},
});
Again, everything works fine on web, but when compiling on cordova for Android, I get the above error. I also tried the {mytable: TabTables.mytable} form that was suggested without any improvement.
Has anyone run into these problems in their Cordova builds?
Contributor guide
Research direction
Start by reproducing the issue with Meteor 1.5.1 and tabular 2.1.1 in the reported web and Cordova Android builds, using the shown Template.registerHelper setup and the alternative object form. Trace where the "You must pass Tabular.Table instance" error is raised; done means the table setup works in the Cordova build without this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100