Get Free Trial

"Cannot read property ‘isEmpty’ of undefined" error – after updating to 2.8.8 version

Adam Plumridge asked on June 3, 2020

I have updated flexmonster from 2.8.2 to the latest version (2.8.8). After the update I am receiving “Cannot read property ‘isEmpty’ of undefined” error when loading my pivot charts. The error is happening within flexmonster.js file. Can you please have a look at the page with example below and provide me with a fix for it?
I am using pivot table for JSON data sources. 
You can recreate the error at the following page:
Username: *****
Password: *****

4 answers

Vera Didenko Vera Didenko Flexmonster June 4, 2020

Hello, Adam,
Thank you for reaching out to us. 
It seems we have found the cause of the error.
We have noticed that the error occurs if no data source was specified in the report object and the updateData() API call is used for the initial data load.
This issue occurs starting from the 2.8.5 version of Flexmonster.

For such cases, we kindly recommend using the connectTo() API call instead:
Please let us know if this works.
As for the error, our team will provide a fix for the problem with the ETA 30th of June.
Please let us know if you have any further questions.
Kind regards, 

Mykhailo Halaida Mykhailo Halaida Flexmonster July 1, 2020

Hi Adam,
We are happy to inform you that the issue with running updateData() with an empty pivot table was fixed.
This is included in the 2.8.10 version of Flexmonster. You are welcome to update the component. Here is our updating to the latest version tutorial for guidance.
Please let us know if everything works fine for you.
Best regards,

Mykhailo Halaida Mykhailo Halaida Flexmonster July 8, 2020

Hi Adam,
How are you?
We were wondering if you’ve had a chance to check out the fix for the mentioned issue. Was it fixed for you, or do you still have anything you would like to discuss?
We would be happy to hear your feedback.

Adam Plumridge July 9, 2020

Hi Mykhailo,
I have updated flexmonster to the latest version(2.8.10) and the issues has been fixed in this release. Thank you.

Please login or Register to Submit Answer