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
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
I am using flexmonster 2.9.16 still I am facing same issue please help
ERROR TypeError: Cannot read properties of undefined (reading 'save')
ERROR TypeError: Cannot read properties of undefined (reading 'save')
at FlexmonsterToolbar.newtabHandler (webpack-internal:///./src/main/webapp/app/entities/create-report/create-report.component.ts:100:30)
at HTMLAnchorElement.eval [as __zone_symbol__ON_PROPERTYclick] (webpack-internal:///./node_modules/flexmonster/flexmonster.full.js:2982:259)
at HTMLAnchorElement.wrapFn (webpack-internal:///./node_modules/zone.js/dist/zone.js:1274:43)
at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:425:35)
at Object.onInvokeTask (webpack-internal:///./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js:27601:33)
at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:424:40)
at Zone.runTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:192:51)
at ZoneTask.invokeTask [as invoke] (webpack-internal:///./node_modules/zone.js/dist/zone.js:507:38)
at invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:1675:18)
at HTMLAnchorElement.globalZoneAwareCallback (webpack-internal:///./node_modules/zone.js/dist/zone.js:1701:21)
defaultErrorLogger @ core.js?7d7a:4073