Alert in Browser Script Is Displayed Twice Using Open UI (Doc ID 1617935.1)

Last updated on SEPTEMBER 12, 2016

Applies to:

Siebel Tools - Version 8.1.1.11 [23030] and later
Siebel CRM - Version 8.1.1.11.10 [IP2013] to 8.1.1.11.10 [IP2013] [Release V8]
Information in this document applies to any platform.

Symptoms

On : 8.1.1.11 SIA [23030] version, Siebel VB / eScript / COM

ACTUAL BEHAVIOR
----------------------
As part of a custom logic on Contact business component, a Modal Dialog box is displayed including some code, in Contact Form Applet, using a Browser Script.

After upgrading to 8.1.1.11 (from 8.1.1.5), it is observed that the Modal Dialog box pops up twice when user selects No option (return CancelOperation is invoked in BC Browser script.).

This behavior is only observed in Open UI and not in HI clients. It is also only observed in a Form Applet but not in the List Applet.

Same situation can be replicated using just an Alert, which is also displayed twice.

Due to some settings generated as part of the custom logic, this behavior is generating issues and the logic is not working as expected.

EXPECTED BEHAVIOR
-----------------------
It is expected to get the Dialog Box displayed once.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Add the following code to the Browser Script in Contact BC.


2. Compile changes in Siebel repository.

3. Start a new Open UI client and go to Contact. In the form for a record try any modification to Last Name or First Name and the alert above will be displayed twice.

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