My Oracle Support Banner

Open UI - Returning CancelOperation From PM Is Not Preventing the Method Execution From Bubbling Up To The Server. (Doc ID 1521829.1)

Last updated on APRIL 30, 2018

Applies to:

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

Symptoms

In 8.1.1.9,  when attempting to implement the following in Open UI:
1. Add a button to a list applet which calls a method "AATest"
2. AATest has some logic written in the Applet Server Script(in PreInvokeMethod).
3. Implement a PresentationModel (PM) for this applet
4. In the PM, return CancelOperation - so that execution of the script in PreInvokeMethod can be bypassed.

Results in "returnStructure" is "undefined" Error.

 

This issues was reproduced internally using the following steps:

SRAppletPM.js

 


In the Console, the following error is generated after the "In the Test Method PreInvoke"  Alert

Uncaught TypeError: Cannot set property 'CancelOperation' of undefined, and the server script is executed on Server for the AATest method.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.