function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Karin McWilliams 1Karin McWilliams 1 

Error in $A.getCallback() [Cannot read property 'setAbortable of undefined]

Hi all - one of my users is getting this error when they try to refresh a report in Lightning: Error in $A.getCallback() [Cannot read property 'setAbortable of undefined]

Additionally, they are getting this error when they click on a hyperlik: Uncaught TypeError: i.getMetadata is not a function
throws at https://ourcompanydomain.lightning.force.com/jslibrary/1555619062000/ui-analytics-reporting/LightningReportDep.js:86:182731

Anyone know what could be causing this?
Dushyant SonwarDushyant Sonwar
Hi Karin ,

If this bug is coming in viewing standard salesforce report , then you can raise a case with salesforce support.
https://help.salesforce.com/articleView?id=workcom_contact_support.htm&type=5
They will definetely get back to on this.

Hope this helps.
Dushyant SonwarDushyant Sonwar
If this a custom report build using lightning component , then please post code snippets?

Thanks,
Deepali KulshresthaDeepali Kulshrestha
Hi Karin,

Greetings to you!

- This error occurs when an attribute is not defined.
- Some times, If we did not write the required attributes in Lightning tags so it throws an undefined error.
- You have to define setAbortable as 'undefined' on doInit function.
- If you stuck with the same problem again then upload your code, I will check the error.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha.