rocco.germinario Posted September 7, 2009 Share Posted September 7, 2009 Hi,I'm currently evaluating JasperServer Professional 3.5.1 I have a problem with "Ad Hoc Report" because when I choose "Create...Ad Hoc Report", I cannot select any Topic or Domain because the list is empty although the topics and domains are present in the repository (which is filled with default sample data).I also tried to create a new Domain (following instruction in the JasperServer-Pro-User-Guide) but the list remains empty. Other parts of JasperServer are working fine: report and dashboards are OK, so I assume that the installation is correct except for Ad Hoc Reports.ThanksRoccoPost Edited by rocco.germinario at 09/08/2009 09:31Post Edited by rocco.germinario at 09/08/2009 09:34Post Edited by rocco.germinario at 09/08/2009 14:00 Link to comment Share on other sites More sharing options...
rocco.germinario Posted September 8, 2009 Author Share Posted September 8, 2009 Just an update:The problem only occurs using Firefox 3.5.2 (on WIndows Vista).In fact, it works fine with Internet Explorer, Chrome and also with Firefox 3.0 (this was tested on a Linux Box), but not with Firefox 3.5.1. Link to comment Share on other sites More sharing options...
mdjj Posted September 8, 2009 Share Posted September 8, 2009 This is a known issue that we had to implement a pretty simple hotfix for (see below). You're right in that it only affects firefox 3.5. Not sure when this will make it into a patch - perhaps the jasper guys can confirm this? Issue report: If any of you have upgraded to Firefox 3.5, there is a fatal problem on ad hoc. All of the adhoc topics and domains are gone on the report creation page!Solution:The problem is caused by the addition of support for the script defer attribute in Firefox 3.5 (see http://hacks.mozilla.org/2009/06/defer). FF 3.5 seems to defer the evaluation of such scripts including loading the defined functions. This causes a problem in adhocTopics.jsp which doesdocument.addEventListener("DOMContentLoaded", start(), false);(btw, start() seems wrong here as it actually calls the function immediately, start would have made more sense as it would pass the function object as event callback).The problem in FF 3.5 is that the start function is in a deferred script which is only loaded after the entire document has loaded, so at this moment the browser does not know what start is.A hotfix could be to change the above mentioned line todocument.addEventListener("DOMContentLoaded", function() {start()}, false);This works due to the fact that DOMContentLoaded events are executed in FF 3.5 after deferred scripts.Another way to fix this is to move the start function out of the deferred script file (it doesn't need to be there). Link to comment Share on other sites More sharing options...
mryzhikova Posted September 9, 2009 Share Posted September 9, 2009 The fix will be in the next release. Post Edited by mryzhikova at 09/09/2009 17:24 Link to comment Share on other sites More sharing options...
gautier Posted January 16, 2010 Share Posted January 16, 2010 Here is a zip file with install instruction on it witch fixes the problem. Hope this helps,Guillaume Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now