Get Free Trial

Bug with setReport() and hierarchies with several levels

Javier González asked on February 14, 2020

We just found an error when using the setReport() API function with hierarchical dimensions configured in some specific way. I have reproduced this error on one of your examples too.
In this example

  1. Configure a hierarchical dimension (with several drillable levels) after another non-hierarchical dimension, and then another non-hierarchical dimension after that second one (for example, Gender -> Employee Department -> Base Rate). (See STEP1.png).
  2. Expand/drill down all the dimensions to the last level. (See STEP2.png).
  3. Use the setReport() function with that same report. On your example I used flexmonster.setReport(flexmonster.getReport()), which should not change anything.
  4. You will notice that the last member is now collapsed instead of expanded (See WRONG.png: you can see that the “Amy E. Alberts” member is not expanded now).

This doesn’t happen if the hierarchical dimension is on the first position (Employee Department -> Base Rate). In this case, the report looks exactly the same (with dimensions drilled down to the last member) after using the setReport() function.
We found this because we saved some reports on our database with flexmonster.getReport() and we noticed that they didn’t look the same after loading them again with flexmonster.setReport(). 
Thanks for your help.

4 answers

Illia Yatsyshyn Illia Yatsyshyn Flexmonster February 18, 2020

Hello, Javier,
Thank you for reaching out to us.
We would like to confirm that we were able to reproduce the described problem.
Our development team will research possible solutions, and we will notify you about results with the ETA Mar 09.
Please contact us in case of additional questions.
Best regards,

Illia Yatsyshyn Illia Yatsyshyn Flexmonster February 19, 2020

Hello, Javier,
Our team would like to kindly inform you that due to the holiday on Mar 9 the ETA is postponed to Mar 10.
Kind regards,

Javier González February 19, 2020

Thank you Illia.

Illia Yatsyshyn Illia Yatsyshyn Flexmonster March 12, 2020

Hello, Javier,
We are pleased to inform you that the issue with the restoration of reports with multiple expanded and drilled down tuples was fixed.
This is available in the 2.8.2 version of Flexmonster:
You are welcome to update the component:
Please let us know if everything works.
Best Regards,

Please login or Register to Submit Answer