Discussions
Categories
- 197K All Categories
- 2.5K Data
- 546 Big Data Appliance
- 1.9K Data Science
- 450.8K Databases
- 221.9K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 552 MySQL Community Space
- 479 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.1K ORDS, SODA & JSON in the Database
- 556 SQLcl
- 4K SQL Developer Data Modeler
- 187.2K SQL & PL/SQL
- 21.4K SQL Developer
- 296.4K Development
- 17 Developer Projects
- 139 Programming Languages
- 293.1K Development Tools
- 110 DevOps
- 3.1K QA/Testing
- 646.1K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 159 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.2K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 19 Java Essentials
- 162 Java 8 Questions
- 86K Java Programming
- 81 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 205 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 471 LiveLabs
- 39 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 175 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 233 Portuguese
Issue after lux upgrade from 4.1.0 to 9.1.0

Hi,
We have a web module based on lux. Current version is Lux 4.1.0. Last update was done long back. We observed that dialog box opens and closes within seconds without any user interaction. We are guessing upgrade is the issue could anyone please provide solution to this problem
below is the code snippet
Dialog box code snippet:
calling function
---------------
self.updateApiStatus = function(api, status) {
var pmname = $.sessionStorage.get('pm.name');
var pmpwd = outil.decodeAES($.sessionStorage.get('pm.mimakey'));
outil.openConfirm('Confirmation',
'You are attempting to change api status from ' + api.status + ' to ' + status,
function(){
var updateApiStatusObj = {
apiName: api.apiId,
apiVersion: api.apiVersion,
status: status
};
var formData = {updateApiStatus:updateApiStatusObj};
if(window.console)console.log("updateApiStatus request:", JSON.stringify(formData));
$.ajax({
url : outil.convertProxyUrl("/prm_pm_rest/services/prm_pm/services/partner_manager/api/PartnerManagerApi/updateApiStatus"),
type: "POST",
data : JSON.stringify(formData),
dataType : 'json',
timeout : 10000,
contentType : 'application/json',
mimeType : 'application/json',
//username : pmname,
//password : pmpwd,
headers: outil.makeAuthorizationHeader("Basic " + outil.base64.encode(pmname + ":" + pmpwd)),
success: function(data, textStatus, jqXHR){
var page=$(".oj-selected").attr("data-oj-pagenum");
if(page==0)
{
self.refreshTable();
}else{
self.refreshTable();
setTimeout("$('#paging-top').ojPagingControl( 'page', "+page+" )",50);
}
},
error: function (jqXHR, textStatus, errorThrown) {
if(window.console)console.log("API update life cycle failed.", jqXHR);
outil.openAlert("Error", "API update life cycle failed. " + outil.getReasonFromErrRespTxt(jqXHR.responseText));
}
});
});
}
called function
openConfirm: function(title, info, callback, type) {
if(type != 'info' && type != 'success' && type != 'warning' && type != 'error'){
type = 'info';
}
type = 'modal-'+type;
var $confirmDiv = $('<div>', {'id': 'confirm'+divId, 'title': title});
$(['<div class="oj-dialog-body">','<p>', info, '</p>','</br>','</div>'].join('')).appendTo($confirmDiv);
var $confirmFooterDiv=$('<div>', {'class': 'oj-dialog-footer'});
var $endButton=$('<button>', {'id': 'endButton'+divId,'text':'OK'});
var $cancelButton=$('<button>', {'id': 'cancelButton'+divId,'text':'Cancel'});
$confirmFooterDiv.append($endButton).append($cancelButton).appendTo($confirmDiv);
$confirmDiv.ojDialog({
initialVisibility: 'show',
modality: "modalless",
width: 500,
height: 250,
position: {
my: "center center",
at: "top+40%",
of: window
},
});
$confirmDiv.ojDialog( "open" );
$confirmDiv.parent().parent(".oj-dialog-layer").css("height", "0px");
$("#endButton"+divId).click(function() {
$confirmDiv.ojDialog("close");
callback();
});
$("#cancelButton"+divId).click(function() {
$confirmDiv.ojDialog("close");
});
divId++;
Answers
-
As an Oracle employee, please use the internal resources available to you. If you do not know what those resources are, please drop me an email or Slack message and I'll help point you in the proper direction.
Thanks,