OpenUI Issue Duplicate RaiseErrorText Message

(Doc ID 1640673.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel CRM - Version 8.1.1.10 [23021] and later
Information in this document applies to any platform.
**Checked for relevance on 07-12-2-15**

Symptoms

On :  8.1.1.10 [23021] version, Siebel VB / eScript / COM

ACTUAL BEHAVIOR  
---------------
When select a value from the Picklist field and if the field has validation/RaiseErrorText in BusComp_PreSetFieldValue then the error message displaying twice.

EXPECTED BEHAVIOR
-----------------------
The error message should be displaying once.

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

1. Application: Siebel Financial Services
2. Add the below script on BC: ‘Opportunity’ BusComp_PreSetFieldValue as below
function BusComp_PreSetFieldValue (FieldName, FieldValue)
{

if (FieldName == "Sales Stage" && FieldValue == "04 - Opportunity")
{
TheApplication().RaiseErrorText("Test message for Sales Stage");
return (CancelOperation);
}
 
return (ContinueOperation);
}
3. In vanilla,  the ‘Opportunity’   BusComp_PreSetFieldValue event  is inactivated,   activate this event, and then compile the object
4. Launch the application and navigate to Opportunities -> Opportunities List
Change the field ‘Sales Stage’ field value to  ‘04 – Opportunity’, message ‘Test message for Sales Stage’ immediately pops up
5. Click ‘Ok’ and click on anywhere on the same from applet message ‘Test message for Sales Stage’ pops up again.

- This behavior noticed in Chrome.
- It is working fine in HI ActiveX client.

BUSINESS IMPACT
-----------------------
Since this happens across application. It impacts all our users trying to make any update.

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