My Oracle Support Banner

Multifield Enable/Disable, Hide/Show Is Reset After Any Event (Doc ID 2873185.1)

Last updated on JUNE 02, 2022

Applies to:

Oracle Insurance Policy Administration J2EE - Version 11.2.4.3 and later
Information in this document applies to any platform.

Symptoms

On : 11.2.4.3 version, General

ACTUAL BEHAVIOR
---------------
When a MultiField section has been hidden or disabled via a ScreenMath Event, and then any other Event is triggered on the base Transaction,
the MultiField section automatically returns to its default state, visible and enabled.
This allows users to access Fields which are expected to be inaccessible, which can lead to logical or financial errors.

This issue is suspected to have been introduced by a design change which was applied to the MultiField Business Rule.
The design change involved rerunning the logic which defines the and elements of a MultiField when an Event occurs.


EXPECTED BEHAVIOR
-----------------------
When a MultiField section has been hidden or disabled, or modified in any other way,
it will not automatically revert to it's default behavior until explicitly instructed to do so via an Action in ScreenMath.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create a Transaction which has 2 fields, a text field and a checkbox.
2. Create a test multifield rule to be called by the Transaction. Give it sample fields, and a element value of 2 and an element value of 5.
3. Call the MMultiField rule within the Transaction.
4. Add an Event to the Transaction on change of the checkbox. When checked, disable the MultiField section entirely. When unchecked, enable the MultiField section.
5. Add an event to the Transaction on change of the text field. Add calls to an empty Math and an empty ActionSet under this event. No logic needs to occur here, the event just needs to trigger.
In a Production application, these are filled with event logic unrelated to the MultiFields, but this is trimmed out for the sake of demonstration.
6. Open an instance of the Transaction. Check off the checkbox, and observe that the entire MultiField section becomes disabled (the index combobox, as well as all fields within all instances of the MultiField).
7. Enter some text into the text box, and then tab out of the field.
8. Observe that the Multifields have been re-enabled, despite no ActionSet having requested the change.
9. Optional: repeat the above, but alter the Action associated with the checkbox from Enable/Disable to Hide/Show.

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.