You need to sign in to do that
Don't have an account?
Josip Juric87
Lightning Experience Component throws error in markup://force:relatedListSingleContainer
I have a Lightning Component which is added to the view page for the Opportunity object. The component contains an event handler for the "force:refreshView" event. When changing data of the Opportunity, the component should refetch its data and rerender.
Now, when changing the record type of the Opportunity, sometimes (unpredictably) the following error is thrown:
What can be the cause for that? Any suggestions?
Now, when changing the record type of the Opportunity, sometimes (unpredictably) the following error is thrown:
Uncaught unrender threw an error in 'markup://force:relatedListSingleContainer' [Cannot read property 'push' of undefined] throws at https://trotec--uat.lightning.force.com/auraFW/javascript/JlFNX6n1lvQX93lGHpJl_A/aura_prod.js:8:15 Object.a.addToQueue()@https://trotec--uat.lightning.force.com/libraries/force:relatedListsDataManagerLibrary.js:11:405 eval()@https://trotec--uat.lightning.force.com/libraries/force:relatedListsDataManagerLibrary.js:5:275 Array.forEach()@(native) Object.a.unregisterRelatedList()@https://trotec--uat.lightning.force.com/libraries/force:relatedListsDataManagerLibrary.js:5:228 Object.onDestroy()@https://trotec--uat.lightning.force.com/components/force/relatedListSingleContainer.js:13:375 unrender()@https://trotec--uat.lightning.force.com/components/force/relatedListSingleContainer.js:16:135
What can be the cause for that? Any suggestions?