Need a special offer?Find out if your project fits.
+

Rerunning a report with both slice.drills.drillAll = true and slice.expands.expandAll = true results in an error

Answered
eze@wejugo.com asked on September 5, 2022

Fiddle: https://jsfiddle.net/1752st8p/
The report is first loaded without error, but when the setReport function is called (pressing the Rerun Report button) an error is raised in the console. 
Expected the component to just re-render the report. 
With either of the slice.drills.drillAll or slice.expands.expandAll unset this doesn't happen.

8 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster September 5, 2022

Hello, Ezequiel!
 
Thank you for reporting this issue and for the JSFiddle sample. It was very helpful.
 
We have managed to reproduce the described behavior on our side. Our development team will take a closer look at the issue and provide you with the fix by the ETA October 3rd. 
We will notify you about any updates on the matter.
 
In addition to that, we want to suggest two other API calls which may be useful for your case:
- runQuery() API call is used to change the slice in the runtime. 
Here is a JSFiddle example for reference: https://jsfiddle.net/flexmonster/qpy2bj5k/.
- updateData() API call is used to update data or change the data source in the runtime.
You can find examples of using this API call in our docs: https://www.flexmonster.com/api/updatedata/.
 
Feel free to contact us in case of any other questions.
 
Regards,
Solomiia

Public
eze@wejugo.com September 12, 2022

Okay, thank you for your prompt response. 

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster September 12, 2022

Hello, Ezequiel!

Thank you for writing back to us.

Our team will notify you about any updates on the matter.

You are welcome to contact us if any other questions arise.

Regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster September 22, 2022

Hello, Ezequiel!

Hope you are having a great week.

We are glad to inform you that the issue with rerunning the report with both drillAll and expandAll enabled was fixed.

The fix is available in the 2.9.34 version of Flexmonster.

You are welcome to update the component.
Here is our updating guide for assistance: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
 
Please let us know if the fix works well for you.

Best regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster October 11, 2022

Hello, Ezequiel!

Hope you are doing well.

Our team is wondering if you had some time to test the fix for rerunning the report with both drillAll and expandAll enabled.
Could you please let us know if everything works well?

Looking forward to your response.

Kind regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster October 18, 2022

Hello, Ezequiel!
 
Hope you are having a great week.
 
Just checking in to ask if the fix for rerunning the report with both drillAll and expandAll enabled works for your case.
 
Looking forward to hearing your feedback.
 
Regards,
Solomiia

Public
eze@wejugo.com November 29, 2022

Hello there,
We've tested this and seems to work now. Thank you.
Ezequiel

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster November 30, 2022

Hello, Ezequiel!

Thank you for getting back to us.

Our team is happy to hear that the fix works fine for you.

You are welcome to contact us if any other questions arise.

Regards,
Solomiia

Please login or Register to Submit Answer