Uncaught TypeError: Cannot read property 'hasChanged' of undefined

What’s the last change you made? Assuming this worked before that.

I made some changes early this week to which model would get the url parameter, and reordered the models. But everything seems to be set up the way it should with the models & conditions.

I’d make a clone and start to remove one model at a time to see when the page starts to work again.

Well… that was strange.

I realized that just before I noticed the error, I had added a field editor with a single field.

I removed that field editor, and voila! I worked.

I then added a field editor and the same field back again, and it still works!

So, I remain confused, but I have a working page. :slight_smile:

How many lines of xml is the page?

1592

Hi Matt,

We consider any javascript error that comes from our code a problem with Skuid.  Even if something is horribly wrong with your XML, Skuid Javascript should give you a nice error.  One really cool feature I found recently in Chrome Dev Tools is the “Pretty Print” button on the “Sources” tab.



In the future, if you want to get closer to where the error is happening, click that button and it will turn one line of minified nastiness into lots of lines of slightly more understandable nastiness.  I absolutely love that feature though.

Yup. I have no idea.

Sweet. Thanks, Ben!

WOW!!! That button is awesome!!!

this whole thread is so helpful!  i ♥ the Skuid community!

I just wanted to add to the conversation that i got this same error. The cause was from deleting a model.  The table that was based on the model went away.  And when i looked in the UI to change the models saved from my Save button on the page, the removed model was no longer listed there.  However, when l looked at the XML, the deleted model was still in the XML to be updated by the save button.  So I wanted to report this mismatch between the XML and the UI!   If you have more questions or need clarification, let me know.

Thanks Rebecca.  Great sleuthing!  I’ll pass the issue along. 

Just a note that I ran into the same issue as Rebecca. Removing a model in the builder does not remove it from lists of models behind pagetitle save/cancel buttons.

Hmm.  This does not happen for me any longer?  ARe you on the latest version of Skuid?  Check out Get the Latest Skuid Releases & Everything That Came Before

Nope, looks like I was on the previous patch. Thanks!

I’m having a very similar problem now. Except it only seems to be a blank page for non admin users. I have updated to the latest patch, and it seems like 1. Every model has an object and 2. there are no additional models in a page title save/cancel button. This happened to me once before and I just started the page over. However, I’ve put a lot of time in to this page this time. 

I’m having a very similar problem now. Except it only seems to be a blank page for non admin users. I have updated to the latest patch, and it seems like 1. Every model has an object and 2. there are no additional models in a page title save/cancel button. This happened to me once before and I just started the page over. However, I’ve put a lot of time in to this page this time. 

I don’t think its the same problem.  If it were - even Admin users would get a blank page.   Are the errors in the browser console the same as Matt’s above?

This sounds to me like a object level security issue. If the users can’t see an object,  skuid will not show it to them (and the page might look blank) 


You’re right. It was an object that was used as a table filter. Giving them view access to that object fixed the issue. Or, removing the filter.