☝️Small business or a startup? See if you qualify for our special offer.
+

Error when calling setReport with empty data in a report with applied filters

Answered
leandro f asked on June 30, 2025

Hello,

Flexmonster is throwing an error when calling setReport with a new dataSource.filename (CSV) that has no data, preventing the user from continuing to navigate.

I was able to reproduce the issue by simulating a report similar to our use case, with two fields listed as rows and applying a filter to one of these rows. It was necessary to import the Prototype.js library as we do in our product.

JSFiddle reproducing the problem:
https://jsfiddle.net/7yLvtwuf/

5 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster July 1, 2025

Hello Leandro,

Thank you for reporting the issue.

Our team will take a look at the described behavior and provide a fix with our minor release with the ETA July 21st. We will notify you about the release.

Please let us know if any questions arise.

Kind regards,
Nadia

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster July 22, 2025

Hi Leandro,

We are pleased to let you know that the issue with setting a filter in the report when the prototype is extended was fixed.

This fix is provided in the 2.9.108 version of Flexmonster: https://www.flexmonster.com/release-notes/version-2-9-108/

You are welcome to update the component: https://www.flexmonster.com/doc/updating-to-the-latest-version/

Please let us know if the fix works for you. Looking forward to hearing your feedback.

Kind regards,
Nadia

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster August 21, 2025

Hello Leandro,

Hope you are having a great week.

We were wondering if you had a chance to try the updated version. Could you please let us know if the fix helped?

Looking forward to hearing your feedback.

Kind regards,
Nadia

Public
leandro f September 3, 2025

Hello Nadia,

Thank you for your message.

Yes, I had the opportunity to test the updated version, and I confirm that the fix worked well. Everything is functioning correctly now.

I appreciate the support from your team.

Public
Maksym Diachenko Maksym Diachenko Flexmonster September 4, 2025

Hello, Leandro!

Thank you for your reply.
We are glad to hear that the fix helped you.
Please let us know if any other questions arise.

Best regards,
Maksym

Please login or Register to Submit Answer