Get Free Trial

Error saving report to file

Geoffrey Wasilwa asked on April 18, 2017

I experience this after setting up more than 1 Conditional Cell formatting and trying to save the file. However, if I save the file then set up the conditional formatting again everything works fine.
I have narrowed down the issue to the function setting up the savingAs function in file.js. The function that sets up the savingAs function receives a FlexmonsterToolbar instance and tries calling document function on this which returns undefined. On the run that works the function recieves a Window instance and everything works okay.
Console error:

Uncaught TypeError: Cannot read property 'createElementNS' of undefined
    at file.min.js:1
    at file.min.js:5
(anonymous) @ file.min.js:1
(anonymous) @ file.min.js:5
flexmonster.js:9 Uncaught TypeError: savingAs is not a function
    at J0.jb (flexmonster.js:9)
    at (flexmonster.js:9)
    at HTMLScriptElement.y [as onreadystatechange] (flexmonster.js:9)
(anonymous) @ flexmonster.js:9 @ flexmonster.js:9
y @ flexmonster.js:9

1 answer

Tanya Gryshko Tanya Gryshko Flexmonster April 18, 2017

Hello Geoffrey,
Thank you for reporting the issue. The fix will be ready in the version 2.314 ETA Apr 24. In case you need a quick fix for this issue, please download flexmonster.toolbar.js and replace current flexmonster.toolbar.js from your component folder.

Please login or Register to Submit Answer