"Invalid report format. 'dataSource' property is required."

Answered
Rodrigo fraga asked on June 27, 2019

After the version update, when we read a saved report configuration, we have the following error.
"Invalid report format. 'dataSource' property is required."
We are reading json saved from the old version and this problem did not occur.
We use the SAS version
Is there any way to disable this new check that was implemented as per the documentation?
Thank you

2 answers

Public
Tanya Gryshko Tanya Gryshko Flexmonster June 28, 2019

Hello, Rodrigo,

Thank you for writing to us.

Our team would like to confirm that we have managed to reproduce the issue on our side. We will add a global option which will allow disabling this new check. The updated version will be released on the 29th of July.

As a temporary workaround, we suggest either using the previous version that worked as expected or migrating the reports to the new format. Please let us know if you need additional details about any of the approaches.

Hope it helps.

Regards,
Tanya

Public
Vera Didenko Vera Didenko Flexmonster July 31, 2019

Hello, Rodrigo,
 
 
We are glad to inform you that a new validateReportFiles property was added to Options Object.
Indicates whether validation of report files is turned on (true) or turned off (false).
Setting this value to false allows loading report files in the old format without error message.
Should be used in global options. Default value: true.

global: {
options: {
validateReportFiles: false
}
}

 
Here is a JSFiddle example for illustration.
 
This is available in the 2.7.11 version of Flexmonster: https://www.flexmonster.com/release-notes/.
 
You are welcome to update the component.
Here is our updating to the latest version tutorial for guidance: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
An important remark is that Flexmonster Accelerator needs to be updated as well: https://www.flexmonster.com/doc/updating-to-the-latest-version/#!accelerator.
 
 
Please let us know if everything works fine for you.
 
 
Best Regards,
Vera

Please login or Register to Submit Answer