There is an issue with request headers for csv data source after upgrading from 2.7.17 to 2.7.20.
Request headers are set in report object using ‘requestHeaders‘ property of the data source. On the first load headers are sent to server and everything is fine. But after reloading data through ‘updateData()‘ method headers missed.
Such behavior stops us from upgrading to the latest version. Could you give any suggestions how it can be solved?
Thanks for your help.
Thank you for reporting about that bug.
We have managed to reproduce the problem on our side.
The issue is going to be fixed with the next minor update ETA 30 Dec.
Also, we would like to kindly draw your attention to the fact that the
updateData API call updates the whole
Being a property of the
dataSource object, the
requestHeaders object is impacted as well; it has to be explicitly defined as a parameter of the
updateData method. Otherwise, the
requestHeaders object will be removed as well as other undefined properties.
More information about
updateData API call and its parameters, including the
requestHeaders, can be found by the following link: updateData method.
We hope it works for you.
We are glad to announce that the issue with request headers not being applied when using
updateData() method call was fixed.
This is available in the 2.7.22 version of Flexmonster: https://www.flexmonster.com/release-notes/
You are welcome to update the component: https://www.flexmonster.com/doc/updating-to-the-latest-version/
Please let us know if everything works fine.
Looking forward to hearing from you.
After upgrading to the 2.7.22 version everything works fine. Request headers are sent as expected.