yogiben / meteor-admin

A complete admin dashboard solution
https://atmospherejs.com/yogiben/admin
GNU General Public License v3.0
827 stars 261 forks source link

Meteor 1.4.1.1 - All users page not show users. #372

Closed misteral closed 8 years ago

misteral commented 8 years ago

Please help my find the bug. Can't see any collections.

Config:

AdminConfig = {
  name: 'My App',
  adminEmails: ['test@example.com'],
  collections: {
  },
};

Got exception on console:

Exception from Tracker afterFlush function:
meteor.js:930 ReferenceError: Session is not defined
    at aldeed_tabular.js:15859
    at Object.Tracker.nonreactive (tracker.js:631)
    at .<anonymous> (aldeed_tabular.js:15858)
    at blaze.js:1875
    at Function.Template._withTemplateInstanceFunc (blaze.js:3687)
    at blaze.js:1873
    at Object.Blaze._withCurrentView (blaze.js:2214)
    at viewAutorun (blaze.js:1872)
    at Tracker.Computation._compute (tracker.js:339)
    at new Tracker.Computation (tracker.js:229)
meteor.js:930 Exception from Tracker afterFlush function:
meteor.js:930 TypeError: Cannot read property 'aDataSort' of undefined
    at _fnSortFlatten (aldeed_tabular.js:4619)
    at _fnSortingClasses (aldeed_tabular.js:4957)
    at HTMLTableElement.<anonymous> (aldeed_tabular.js:6585)
    at Function.each (jquery.js:442)
    at jQuery.each (jquery.js:194)
    at jQuery.DataTable (aldeed_tabular.js:6207)
    at jQuery.$.fn.DataTable (aldeed_tabular.js:14890)
    at Template.AdminDashboardView.rendered (yogiben_admin.js:1859)
    at blaze.js:3341
    at Function.Template._withTemplateInstanceFunc (blaze.js:3687)

Users is present in DB

Alt text

When I click see all, I got:

Alt text

If I add Posts collection I got the same bug.

misteral commented 8 years ago

My fault. Just add meteor add session. And all works fine.