meteor-factory / meteor-admin

26 stars 11 forks source link

Error on any Collection Page: Cannot convert undefined or null to object #5

Open merlinstardust opened 8 years ago

merlinstardust commented 8 years ago

I get the following error when I visit any collection page.

TypeError: Cannot convert undefined or null to object
at hasOwnProperty (native)
at Function._.has (http://localhost:3000/packages/underscore.js?fa590de5090ceb4a42555b48562fd8f8e7035758:1124:27)
at Object.Blaze._lexicalBindingLookup (http://localhost:3000/packages/blaze.js?695c7798b7f4eebed3f8ce0cbb17c21748ff8ba8:3060:11)
at Blaze.View.lookup (http://localhost:3000/packages/blaze.js?695c7798b7f4eebed3f8ce0cbb17c21748ff8ba8:3134:36)
at Blaze.View.lookup (http://localhost:3000/packages/iron_dynamic-template.js?ee3a82d9513d6672d735cd269e5a228a8adb9247:777:23)
at HTML.A.href (http://localhost:3000/packages/mfactory_admin.js?4c42a4a71c63f015c9b6bda8ce3b6c54d30372d7:1251:38)
at Object.Blaze._withCurrentView (http://localhost:3000/packages/blaze.js?695c7798b7f4eebed3f8ce0cbb17c21748ff8ba8:2219:12)
at Blaze._HTMLJSExpander.def.visitAttribute (http://localhost:3000/packages/blaze.js?695c7798b7f4eebed3f8ce0cbb17c21748ff8ba8:2147:21)
at HTML.TransformingVisitor.def.visitAttributes (http://localhost:3000/packages/htmljs.js?02fcaaa6a72c008a5f618f8ec940eac2d240fc2c:229:44)
at Blaze._HTMLJSExpander.def.visitAttributes (http://localhost:3000/packages/blaze.js?695c7798b7f4eebed3f8ce0cbb17c21748ff8ba8:2141:63)

My admin configuration file is at lib/admin.js and I am using Meteor 1.2.0.2

twavis commented 8 years ago

Same

sirpy commented 8 years ago

same. seems like it has to do with routing definitions for collections

chriswessels commented 8 years ago

+1. Anyone know of a fix?