Hi, I have upgraded WM to version 7 and can't open project because of the error below:
ReferenceError: SVG_FONT_FAMILY is not defined
draw() Page.js:207
draw() NavigationDiagram.js:606
init() formMapScripts.js:99
window.onload() formMapScripts.js:73
I'm using FF 43.0.4. Please advise if you had similar issue. Many Thanks
ReferenceError: SVG_FONT_FAMILY is not defined
draw() Page.js:207
draw() NavigationDiagram.js:606
init() formMapScripts.js:99
window.onload() formMapScripts.js:73
I'm using FF 43.0.4. Please advise if you had similar issue. Many Thanks
RE: SVG_FONT_FAMILY is not defined
Welcome to the forum. My apologies for the delay in getting your post approved. We have some additional checks for new members, but you should now be all set going forward.
The error you are getting does seem strange, as the variable involved should be defined in one of the WebMaker script files.
There are many others using Firefox 43 without issues, so I don't think the problem is specific to that browser version.
Given that you have just upgraded, I would first suggest trying to clear out your browser cache in case it is still using an older copy of a script file. You shouldn't need to do this as we try to version all the files, but it is one possibility that could cause this error.
Hopefully this will help, but if not let me know and we will debug further.
Regards,
Gerard
RE: SVG_FONT_FAMILY is not defined
Thank you for quick reply. Unfortunatelly clearing my browser cash was the first thing I've done, but it didn't fixed it. Any other suggestions?
Regards
Kat
RE: SVG_FONT_FAMILY is not defined
The value that the error is referring to should be defined in the NavigationDiagram.js script file. Can you check if this is present at the top of your version? You can find this file at <install-loc>\design\tomcat-design\webapps\formmaker\js\, and you should see the SVG_FONT_FAMILY definition right near the top (line 14).
If this is not present, then I would suspect a problem with the installation, so it would be worth trying to install version 7 again.
If this file looks ok, then the next step would be to check that the browser has loaded this version. Open the Firefox Developer Tools (press F12) and select the Debugger tab. From here you should be able to find the NavigationDiagram.js file in the list on the left. Select this, and make sure that the content shown has the SVG_FONT_FAMILY definition.
Could you also try running the following script from the console and see what gets output?
WinManager.arrWindows[0].objWin.SVG_FONT_FAMILY
Finally, although I don't think you should have any issues with Firefox, it might still be worth checking in a different browser to see if you get the same behaviour.
Hopefully this will help us track down what is causing the issue.
Regards,
Gerard
RE: SVG_FONT_FAMILY is not defined
Regards
Kat