Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CASE OPENED] Line: 314 Error: 'olapTransTable' is undefined

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE OPENED] Line: 314 Error: 'olapTransTable' is undefined
 Login/Join
 
Virtuoso
posted
We're seeing above error when clicking a date control on a few launch pages on our production server, while they are fine on our test server. The HTML and launch-fex are binary equal.

The problem only occurs in IE, the script works fine in Firefox and Chrome, which makes debugging the issue a bit tedious.

Any idea what might be causing this?!?

The HTML is nothing complicated, I'll add it here for posterity:
<!-- Generated by Report Layout Painter -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META id=mycharsetmeta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META id=Generation content="Created in release 7611, Generation 3.0">
<SCRIPT id=IBI_RelCallBack type=text/javascript>function AdjustChildrenPosition(){
}
</SCRIPT>

<SCRIPT id=IBI_OptionsScript type=text/javascript>
var cgipath = "cgipath";
var ibirls = "ibirls3";

var rltdyncalendar = "rltdyncalendar";
var gmap = "ibigmap";
var olap="olap";
var olappanebase="olappanebase";
var olapdrill="olapdrill";

var ibixmltree="ibixmltree";

var ibiOptions = new Array(cgipath,ibirls,rltdyncalendar);
</SCRIPT>

<SCRIPT id=IBI_nls src="/ibi_html/javaassist/nls.js" type=text/javascript></SCRIPT>

<SCRIPT id=IBI_nlsVars src="/ibi_html/javaassist/nlsvars.js" type=text/javascript></SCRIPT>

<SCRIPT id=IBI_ibigbl src="/ibi_html/javaassist/ibi/html/js/ibigbl.js" type=text/javascript></SCRIPT>

<SCRIPT id=IBI_ibigblloadCss type=text/javascript>
ibigblloadCss(null);
addIntlTranslatedJS("composertrans.js");
</SCRIPT>
<TITLE>HtmlPage</TITLE>
<LINK id=ITEM1 href="/approot/General/vredestein.css" type=text/css rel=stylesheet>
<SCRIPT id=ITEM2 src="/approot/General/vredestein.js" type=text/javascript></SCRIPT>

<SCRIPT id=ITEM3 src="/approot/General/form.js" type=text/javascript></SCRIPT>

<SCRIPT id=clientEventHandlersJS type=text/javascript>

function window_onload() {

	UpdateData();
}

function button1_onclick(ctrl) {
	OnExecute(ctrl)
}
</SCRIPT>

<SCRIPT for=window type=text/javascript eventname="onload">window.onload = function() { window_onload(); }</SCRIPT>

<META content="MSHTML 6.00.5730.13" name=GENERATOR></HEAD>
<BODY style="OVERFLOW: auto" persistentuniqueid="compUid_1" nextelementuniquenumber="39" elementtype="21" edaconnectionrequired="true">             
<IFRAME id=iframe1 style="Z-INDEX: 1; LEFT: 10px; WIDTH: 890px; POSITION: absolute; TOP: 110px; HEIGHT: 610px" tabIndex=1 src="" persistentuniqueid="compUid_33" executebuttonId="button1" autoExecute="False" requests_list="0" name="iframe1"></IFRAME>
<LABEL id=label1 style="Z-INDEX: 2; LEFT: 50px; WIDTH: 93px; CURSOR: default; POSITION: absolute; TOP: 40px; HEIGHT: 16px" tabIndex=2 for=calendar1 persistentuniqueid="compUid_39">Date from</LABEL>
<INPUT id=calendar1 style="FONT-WEIGHT: bold; Z-INDEX: 6; LEFT: 50px; WIDTH: 110px; POSITION: absolute; TOP: 76px; HEIGHT: 22px" tabIndex=3 hspace=0 size=6 persistentuniqueid="compUid_34" elementtype="14" boundtovariable="1" defaultselection="1" name="calendar1">
<INPUT language=javascript id=button1 style="FONT-WEIGHT: bold; Z-INDEX: 4; LEFT: 420px; WIDTH: 120px; POSITION: absolute; TOP: 70px; HEIGHT: 30px" onclick=button1_onclick(this) tabIndex=4 type=button value="Run Report" persistentuniqueid="compUid_37" requests_list="0" defaultselection="1" name="button1">
<LABEL id=label2 style="Z-INDEX: 5; LEFT: 240px; WIDTH: 92px; CURSOR: default; POSITION: absolute; TOP: 40px; HEIGHT: 16px" tabIndex=5 for=calendar2 persistentuniqueid="compUid_38">Date until</LABEL>
<INPUT id=calendar2 style="FONT-WEIGHT: bold; Z-INDEX: 6; LEFT: 230px; WIDTH: 110px; POSITION: absolute; TOP: 76px; HEIGHT: 22px" tabIndex=6 hspace=0 size=7 persistentuniqueid="compUid_35" elementtype="14" boundtovariable="1" defaultselection="1" name="calendar2">
<INPUT id=layoutinfo style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden resourcectrlids="ITEM2;ITEM3">
<INPUT id=ibiapp_app style="LEFT: -100px; POSITION: absolute; TOP: -100px" type=hidden value="pibs_pb ibiwork reverse_deploy general masters_voice baseapp" name="ibiapp_app">
<xml id=focus_xmlelement>
<script type="text/xml">

<rootxmlnode top="100" left="10" width="150" height="130">

<variables>

<variable controltype="14" parametercreatedinreslay="0" type="unresolved" desc="Date from" name="DATEFROM" default="" textvarname="" accept="0" select="0" create="1" top="70" left="30" width="60" height="20" inbinding="1">

<link linktype="default" from="compUid_34">

<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">

<data_info displayfield="DATEFROM" datafield="DATEFROM" datasource="lbh_vlkprodhist.mas" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" sourcetype="typeMaster"></data_info></condition></link>

<requestid id="0"></requestid></variable>

<variable controltype="14" parametercreatedinreslay="0" type="unresolved" desc="Date until" name="DATEUNTIL" default="" textvarname="" accept="0" select="0" create="1" top="70" left="140" width="60" height="20" inbinding="1">

<link linktype="default" from="compUid_35">

<condition default="1" name="Default" whattodowithcontrol="4" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">

<data_info displayfield="DATEUNTIL" datafield="DATEUNTIL" datasource="lbh_vlkprodhist.mas" datatype="0" selectedvalue="" operation="" slider_range_from="" slider_range_to="" sourcetype="typeMaster" linktype="none"></data_info></condition></link>

<requestid id="0"></requestid></variable></variables>

<input_controls>

<input_control bindcontrolid="compUid_34" elementtype="14" requiredfield="0" name="calendar1" id="calendar1" multiple="0" top="20" left="30" width="60" height="20" inbinding="1" onetimepopulated="1">

<link linktype="default">

<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">

<data_info datatype="0" datasource="lbh_vlkprodhist.mas" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" calendardata="0/0/-10;0/0/10" calendardatatype="1" ibiformat="YYMD" accept="0" operation="NONE">

<static_values>

<static value="" display="" selected="0" noinput="0"></static></static_values></data_info></condition></link></input_control>

<input_control bindcontrolid="compUid_35" elementtype="14" requiredfield="0" name="calendar2" id="calendar2" multiple="0" top="20" left="140" width="60" height="20" inbinding="1" onetimepopulated="1">

<link linktype="default">

<condition default="1" name="Default" whattodowithcontrol="0" valuescompareoperator="0" parameterscompareoperator="0" conditionmultiselectoperator="0">

<data_info datatype="0" datasource="lbh_vlkprodhist.mas" addalloption="0" sourcetype="typeMaster" cacheruntimedata="0" calendardata="0/0/-10;0/0/10" calendardatatype="1" ibiformat="YYMD" accept="0" operation="NONE">

<static_values>

<static value="" display="" selected="0" noinput="0"></static></static_values></data_info></condition></link></input_control></input_controls>

<other_bound_objects></other_bound_objects>

<requests nextrequestsid="0">

<request requestid="0" sourcetype="typeFex" targettype="iframe" targetname="iframe1" ibif_ex="PIB00061R_021.fex" activereport="0" reportcolumns="" ibiapp_app="pibs_pb ibiwork reverse_deploy general masters_voice baseapp"></request></requests></rootxmlnode>
</script>
</xml></BODY>
<SCRIPT id=IBI_loadcalendar type=text/javascript>
if(ibigblInitInfo.testOptions(rltdyncalendar)){
     setDateRange();
     setupDocCalendars();
}</SCRIPT>

<SCRIPT id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>
</HTML>

This message has been edited. Last edited by: Wep5622,


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Virtuoso
posted Hide Post
A bit off-topic, but wouldn't it be a good idea to wrap content that's in code-tags in a div with style="width: 800px; overflow-x: scroll;"? I'm just guesstimating the required width here, but something like that Wink


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Virtuoso
posted Hide Post
I got some additional information; in Firefox on a colleagues PC it didn't work. Investigation turned up that WF tries to load a HTML file named NLolapctltrans.js, which doesn't exist (returns an HTTP 404 as a result).

The reason I wasn't getting this issue and my colleague(s) are, is that I only have english set up as preferred language in Firefox, while my colleagues have Dutch (nl) as well and with a higher order of precedence in the list.

Removing Dutch from my colleagues languages made the code work in Firefox.

We tried a similar setting in IE, but that bore no fruit unfortunately.

Is there some central setting in WebFOCUS where we can force the language to English? We looked, but didn't find any...


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Virtuoso
posted Hide Post
As a workaround for our Dutch users, we created a copy of the EN directory in ibi_html/javaassist and renamed the files to start with NL instead of EN plus some files that didn't have a prefix for the EN case (but do for the NL case).

Of course, this will only work for our Dutch users, but those were the ones with the immediate problem. We still need a proper solution.

This message has been edited. Last edited by: Wep5622,


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CASE OPENED] Line: 314 Error: 'olapTransTable' is undefined

Copyright © 1996-2020 Information Builders