Menu
Download Free Trial

Error saving report to file

Resolved

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 J0.me (flexmonster.js:9)
    at HTMLScriptElement.y [as onreadystatechange] (flexmonster.js:9)
(anonymous) @ flexmonster.js:9
J0.me @ flexmonster.js:9
y @ flexmonster.js:9

1 answer

Public
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.
Regards,
Tanya

Please login or Register to Submit Answer