JavaScript Error in Lightning
I am getting an error when selecting the cancel button on tables of Skuid pages embedded in lightning. I am see this no two different orgs both on 11.1.6:
[Cannot read property 'find' of undefined]I am also seeing a similar error on a custom snippet that worked as of two weeks ago. I thought it has to do with the custom JS, but it is happening with a standard Skuid component as well. I have looked at the latest releases and none of them seem to address this. Any insight on what I can do to fix this?
https://ORGNAMEHERE.lightning.force.com/resource/1521239945000/skuid__CoreComponents/core.js:16:2567...
https://ORGNAMEHERE.lightning.force.com/resource/1521239948000/skuid__SkuidJS:23:18314
https://ORGNAMEHERE.lightning.force.com/resource/1514499240000/skuid__JQueryJS:13:14965
https://ORGNAMEHERE.lightning.force.com/resource/1521239948000/skuid__SkuidJS:23:18275
https://ORGNAMEHERE.lightning.force.com/resource/1521239948000/skuid__SkuidJS:31:28790
https://ORGNAMEHERE.lightning.force.com/resource/1521239948000/skuid__SkuidJS:31:25906
https://ORGNAMEHERE.lightning.force.com/resource/1514499240000/skuid__JQueryJS:14:19404
https://ORGNAMEHERE.lightning.force.com/resource/1514499240000/skuid__JQueryJS:14:17419
Tagged:
2
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
I haven't seen any reports of this happening from anyone else in Lightning. It makes me curious how you have built your page.
On clicking cancel after clicking edit, Salesforce throws a lightning error with what looks like the same error that is seen in the console. This is the error after clicking cancel in the sandbox:
[Cannot read property 'find' of undefined]
https://ORGNAMEHERE.lightning.force.com/resource/1528589699000/skuid__CoreComponents/core.js:4:25625
https://ORGNAMEHERE.lightning.force.com/resource/1528589719000/skuid__SkuidJS:11:18565
https://ORGNAMEHERE.lightning.force.com/resource/1521204697000/skuid__JQueryJS:1:14963
https://ORGNAMEHERE.lightning.force.com/resource/1528589719000/skuid__SkuidJS:11:18526
https://ORGNAMEHERE.lightning.force.com/resource/1528589719000/skuid__SkuidJS:19:30007
https://ORGNAMEHERE.lightning.force.com/resource/1528589719000/skuid__SkuidJS:19:27123
https://ORGNAMEHERE.lightning.force.com/resource/1521204697000/skuid__JQueryJS:2:19404
https://ORGNAMEHERE.lightning.force.com/resource/1521204697000/skuid__JQueryJS:2:17419
I tested 11.2 in the Sandbox that I am working in and I do not see the issue anymore. I will do more testing to make sure nothing else is affected by the upgrade and update the client to 11.2 down the line.
Thanks!