I am using jasper server pro evaluation version 6.0.0 for Proof of Concept purpose about Visualize.js
I just follow visualizejs-getting-started tutorial and here is my fiddle code.
But no luck, I got an error below:
Error on Chrome
4 Answers:
I have the same issue. Im able to get the server up and running and also upload few reports and run them on the server. but when i try to run the fiddle, there seems to be a problem with the js file. I'm not able to confirm with the v5.6 as there is no commercial version of the JRS trial available on the website.
Please update the script src with ?_opt=false
see jsfiddle example:
http://jsfiddle.net/qw35fmys/4/
script src=http://localhost:8080/jasperserver-pro/client/visualize.js?_opt=false
It looks like using the minimized version of visualize.js is completely broken. The only way to get it to work is by setting ?_opt=false
Setting _opt=true puts all the javascript files into 1 minified file instead of downloading all files individually.
I really hope they fix this, because the unminified version is incrediable slow to load.
I found the solution for the issue. It seems that thre is a regex issue with the "m=new RegExp(["[À-ß][€-¿]","[à -ï][€...". I played around with the regex and able to get it to work. For now im using m = new RegExp(["[Àß-][¿-]", "[àï-][¿-]{2}", "[ð÷-][¿-]{2}"].join("|"), "g"), . This might not be the intended regex. But far now it seems to work.