Uncaught TypeError: Cannot read property 'tid' of undefined

  • 1
  • Problem
  • Updated 3 years ago
  • Acknowledged
I just Upgraded to Banzai and am testing out pages and I am noticing a lot of Save button issues where the actions are failing and my block UI is not going away. After inspecting further it seems that now since Banzai when I load a page then load tab/popup etc that contains another page via page include, I am getting the below error. Once I get the error once, the page session is completely broken until a full refresh. After googling the error I find a lot of people saying that it is due to CSRF and to disable that, I dont think that is a smart choice to disable that.

Skuid,
Why are regular saves getting caught as CSRF errors on the VFRemote.js:85 file? Can someone help with this as it is happening all over my system?

Uncaught TypeError: Cannot read property 'tid' of undefined
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb
  • worried

Posted 3 years ago

  • 1
Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb
Looking in Fiddler it seems that Salesforce is returning the following error. It seems the Get that is happening via Skuid is too long (over 1 million). This was not happening Pre-Banzai. Any Ideas?

[{"statusCode":500,"type":"exception","ref":false,"action":"Unknown","method":"Unknown","message":"Input too long. [1, 939731]","where":"","data":"","vfTx":true,"vfDbg":true}]

 https://help.salesforce.com/HTViewSolution?id=000193799&language=en_US

Photo of Jarrod Hinson

Jarrod Hinson

  • 2,310 Points 2k badge 2x thumb
It looks like the Get Count is doubled on the request once any page include is loaded in the session.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
We talked on the phone with Jarrod about this - and found the issue.  It will be corrected in the next patch release.