question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot read property '_resolvedSchema' of undefined

See original GitHub issue

I am getting the following error when updating a form. I’m not sure what’s going on. When i insert a document I don’t get any error, only when updating it.

Exception in template helper: TypeError: Cannot read property '_resolvedSchema' of undefined at Object.AutoForm.getFormSchema (http://localhost:3000/packages/aldeed_autoform.js?8a3a72752639b5186173691898c4ac267bd8d888:2943:14) at parseOptions (http://localhost:3000/packages/aldeed_autoform.js?8a3a72752639b5186173691898c4ac267bd8d888:1244:21) at Object.autoFormFieldNames (http://localhost:3000/packages/aldeed_autoform.js?8a3a72752639b5186173691898c4ac267bd8d888:1358:13) at bindDataContext (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2880:16) at Blaze._wrapCatchingExceptions (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:1651:16) at http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2928:66 at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:3476:12) at wrapHelper (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2927:27) at Spacebars.call (http://localhost:3000/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:172:18) at Spacebars.mustacheImpl (http://localhost:3000/packages/spacebars.js?7bafbe05ec09b6bbb6a3b276537e4995ab298a2f:109:25)

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
firaskrichicommented, Dec 4, 2015

I’m running into the same problem

0reactions
lukeaclcommented, Jan 25, 2018

For anyone else having this issue and not having a duplicate form id in their DOM.

I found the problem occurring when I was using an if to show one of two forms, an insert form, or update form, with different options. Even though only one form was ever shown at a time, just having both forms with the same id in the template was enough to break everything.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot Read Property of Undefined in JavaScript - Rollbar
TypeError : Cannot read property of undefined occurs when a property is read or a function is called on an undefined variable.
Read more >
TypeError: Cannot read property 'expressMiddleware' of ...
Error in callback! Tossing to global error handler. TypeError: Cannot read property 'expressMiddleware' of undefined at SwaggerRunner.create ...
Read more >
Cannot read property 'name' of undefined · Issue #3628 - GitHub
Cannot read property 'name' of undefined #3628 ... Next issue: My resolvers can't be found because the path was mangled and slashes removed....
Read more >
{solved} TypeError: Cannot read property 'firstname' of ...
{solved} TypeError: Cannot read property 'firstname' of undefined. I'm having like no clue whats wrong with the code.. I've checked the Q&A Forum...
Read more >
"Cannot read property "0" from undefined:" Error Message
Hello @Ankur Bawiskar In Servicenow logs, we are getting this below Error; Cannot read property "0" from undefined:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found