TBS uses Flexmonster in its software by creating a JSON file for the data source.
In some cases, the report does not perform well when the data source contains only one row. If we add a second row to the data source, it's OK, the report displays both rows.
Attached, you will find all files : data json, mapping json, js script, screenshots ...
Hello, Capelle!
Thank you for reaching out to us.
Our team could not reproduce the described behavior on our side. We assume that shown visualization of JSON array of arrays with one data row can occur in older versions of Flexmonser. Could you please update Flexmonster to the latest version and let us know if it helps?
Here is our updating guide: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
Looking forward to hearing from you.
Kind regards,
Solomiia
Hello Solomiia
Our current version is 2.9.52, I tried to upgrade to 2.9.59 but there is another JSON parsing problem so I had to revert to 2.9.52 because the error appeared on the 2.9.53 and later.
I am surprised that with all the files I provided you you cannot reproduce our problem...
Hello, Capelle!
Thank you for getting back to us.
Kindly note that we have tried running the provided JS code and importing data from the local file and from the server. Our team has tested the example on Windows and MacOS in Chrome, Firefox, and Safari browsers.
Here is the simplified version we have tested: https://jsfiddle.net/flexmonster/50Ltzwnr/.
We have obfuscated the original data by changing some letters before loading it to our CDN.
Could you please provide us with your OC and browser and check if our example is reproducible on your side? Any other additional details about your case would also help us greatly to continue the investigation.
Regarding your comment about the JSON parsing behavior that appears after upgrading to the 2.9.59 version of Flexmonster, could you please provide more details about the matter? Any additional information, including screenshots and logs, would help us greatly.
Looking forward to hearing from you.
Kind regards,
Solomiia
Hello,
I did some tests here: https://jsfiddle.net/6enfyd01/
you do not need to anonymize more the data
it works fine if the data is enclosed in the JS, if we call an external file, it doesn't work (on my servers)
please find the file to post for testing
Regarding the error that occurs for versions from 2.9.53, you will find the message in the attached file
Hello, Capelle!
Thank you for your response.
Could you please check if the behavior with the (blank) fields is reproducible using the following Flexmonster build: https://flexmonster.s3.amazonaws.com/2023/FLEXMONSTER-2023-SEP11.zip?
Looking forward to hearing from you.
Kind regards,
Solomiia
Hello,
This version solve the JSON.parse problem with non-whitespaces characters.
Hello, Capelle!
Thank you for your feedback.
Do we understand it right that the (blank) issue is fixed now as well?
Looking forward to hearing from you.
Kind regards,
Solomiia
Hello, Capelle!
Hope you are doing well.
Could you please let us know if the (blank) issue is fixed in the latest version of Flexmonster?
Looking forward to hearing from you.
Kind regards,
Solomiia
yes it is
Hello, Capelle!
Thank you for your feedback.
We are happy to hear the described behavior of the JSON array of arrays is fixed in the latest version of Flexmonster.
Feel free to contact us if any other questions arise.
Kind regards,
Solomiia