Cannot read property 'getEntityMetadata' of undefined

  • 1
  • Problem
  • Updated 3 years ago
  • Acknowledged
My custom page just will not render in the editor. JS console shows the following:
skuid__SkuidBuildersJS:11 Uncaught TypeError: Cannot read property 'getEntityMetadata' of undefined
Less than one day using Skuid and I run into this. Not impressed.
Photo of Jon Rimmer

Jon Rimmer

  • 122 Points 100 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,056 Points 20k badge 2x thumb
This is a known bug that we are working to resolve - but fortunately it's pretty easy to workaround. It's caused by having a Model in your page where you didn't select an Object Name. The error handling here is not working (that's the bug), but the fix is this:

1. From the Skuid header, under "compose", select "all pages" to go to the list of Pages.
2. Find your page in the list, and click the Versions icon next to it.
3. Click the "Restore this Version" button next to the most recent Auto-Save version of your page. 
4. Click "Edit Page". This will open the Page Composer, and you should be able to interact with your page again.
(Edited)
Photo of Jon Rimmer

Jon Rimmer

  • 122 Points 100 badge 2x thumb
Thanks Zach.