FW - UI GETTING CLEARED WHEN GIVING INVALID VALUE FOR FKREF SCHEMA ELEMENT (Doc ID 1384133.1)

Last updated on DECEMBER 07, 2011

Applies to:

Oracle Utilities Framework - Version: 2.2.0 to 2.2.0 - Release: 2.2 to 2.2
Information in this document applies to any platform.

Goal

Description
When launching/reloading a UI map that has a fkref schema element with an invalid value, the application does not throw any error and also clears out the other fields in the UI map.

Steps To Recreate
1. Create a UI map with the following schema:-

<schema>
<businessObject fkRef="F1-BUSOB"/>
<field2/>
<bundle fkRef="F1-BNDL"/>
<field3/>
<algorithm fkRef="F1-ALG"/>
<field4/>
</schema>

2. Generate the Input html for the above UI Map.

3. Create a BPA script to move some values to the above schema elements and to launch the UI map.

move 'abcdxyz45678' to "ZZGKInvalidFKRefValue/bundle";
move 'ijkl' to "ZZGKInvalidFKRefValue/field3";

move 'F1-BNDL-INFO' to "ZZGKInvalidFKRefValue/algorithm";
move 'mnop' to "ZZGKInvalidFKRefValue/field4";

Make sure that the value populated for the bundle element is an invalid value and does not exist in the database.

4. When the BPA script is run and UI map is launched, the application clears out the remaining elements in the UI. This happens when the value for bundle is an invalid value.

This happens in other scenarios as well when the user provides inputs in the Maintenance UI Map and clicks save and the application clears out the remaining fields in the UI and does not throw an error in case of invalid values for fkref schema elements.

The expected behavior is that all field values should be visible.

Solution

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