Jump to content
We've recently updated our Privacy Statement, available here ×

webHelpModule is undefined


dknutson

Recommended Posts

I'm accessing a 3.7 version of JasperServer using IE8 on a vista machine.  In the left corner of the IE screen it provides the warning the the page was displayed, but that there were errors.  Clicking on error icon brings up an explorer status box that says -"webHelpModule is undefined"

What is the webHelpModule and is this issue related to IE8 alone?  I don't see it when using Firefox from a linux machine.

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...
  • 1 month later...

Hmmm, in the released version, there are a few JSP and one Javascript references to it.

 

jpivot\ja-pro.js(194): $('helpLink').onclick = webHelpModule.displayWebHelp;


WEB-INF\jsp\olap\viewOlap.jsp(107): webHelpModule.currentContext = "analysis";
WEB-INF\jsp\rolesFlow\roleManager.jsp(65): webHelpModule.currentContext="admin";
WEB-INF\jsp\search\results.jsp(76): webHelpModule.currentContext = "search";
WEB-INF\jsp\userFlow\userManager.jsp(65): webHelpModule.currentContext="admin";
 

 

I think you can just remove them.

 

 

Sherman

Jaspersoft

Link to comment
Share on other sites

  • 2 months later...
  • 3 months later...

Hi Folks,

I just checked in a fix to this issue in branches/js-for-pro-3.7.x.

The 3.7.1 release is built off of tags/js-3.7.1

(and the tag is based on js-for-pro-3.7.x - kind of a clunky name for us CE users.)

 

Here are what the diffs look like if you want to apply them yourselves in your env:

 

In webapp:

WEB-INF/jsp


In source base:

jasperserver-war/src/main/webapp/WEB-INF/jsp


Index: olap/viewOlap.jsp
===================================================================
--- olap/viewOlap.jsp   (revision 18334)
+++ olap/viewOlap.jsp   (working copy)
@@ -104,7 +104,7 @@

 var viewURI = '<c:out value="${requestScope.name}" />';
 var olapPage = 'olap/viewOlap.html';
-webHelpModule.currentContext = "analysis";
+window.webHelpModule && (webHelpModule.currentContext = "analysis");

 </script>

Index: rolesFlow/roleManager.jsp
===================================================================
--- rolesFlow/roleManager.jsp   (revision 18334)
+++ rolesFlow/roleManager.jsp   (working copy)
@@ -62,7 +62,7 @@
     <script language="JavaScript" src="${pageContext.request.contextPath}/scripts/usersandroles/rolemanager/roleManager.js"></script>

     <script>
-        webHelpModule.currentContext="admin";
+        window.webHelpModule && (webHelpModule.currentContext="admin");
     </script>

 </head>
Index: search/results.jsp
===================================================================
--- search/results.jsp  (revision 18334)
+++ search/results.jsp  (working copy)
@@ -73,7 +73,7 @@


     <script>
-        webHelpModule.currentContext = "search";
+        window.webHelpModule && (webHelpModule.currentContext = "search");
     </script>

 </head>
Index: userFlow/userManager.jsp
===================================================================
--- userFlow/userManager.jsp    (revision 18334)
+++ userFlow/userManager.jsp    (working copy)
@@ -62,7 +62,7 @@
     <script language="JavaScript" src="${pageContext.request.contextPath}/scripts/usersandroles/usermanager/userManager.js"></script>

     <script>
-        webHelpModule.currentContext="admin";
+        window.webHelpModule && (webHelpModule.currentContext="admin");
     </script>

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...