OpenUI For Loop returns CleanEmptyElements

(Doc ID 2100615.1)

Last updated on MARCH 07, 2016

Applies to:

Siebel CRM - Version 8.1.1.14.12 [IP2014] and later
Information in this document applies to any platform.

Symptoms

On : 8.1.1.14.12 [IP2014] version, Configuration - General

ACTUAL BEHAVIOR
---------------
Open UI - Command split has a different behaviour in Open UI.

EXPECTED BEHAVIOR
-----------------------
Command Split should behave same for HI & OpenUI.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. add below browser script, and compile the changes.
  
var sInputStr = "[IN.LogScenario]=[Scenario];[IN.LogOrderId]=[OrderId]";

  var arrTmp = sInputStr.split(";");
  
  for(var x in arrTmp)
  {
  alert(x);
  alert("Stringa Parametro:"+arrTmp[x]);
  }
  return("CancelOperation");
2. Generate Browser scripts.

3.  Result: In HI arrTmp has 2 values, in Open UI 3 values and the third values return CleanEmptyElements.

The above test case is tested in standard environment reproduce the same. In OpenUI, it is giving additional value of “CleanEmptyElement



BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users can see different behavior of split function in HI & OpenUI environments. .

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms