My Oracle Support Banner

SSPL values cleared from the array when using the SSPL in an ajax rule (Doc ID 2908157.1)

Last updated on AUGUST 18, 2023

Applies to:

Oracle BigMachines CPQ Cloud Service - Version 22 C Patch 3 and later
Information in this document applies to any platform.

Symptoms

On: 22 C Patch 3 version, Configuration

ACTUAL BEHAVIOR
---------------
Values of SSPL hosted in an array are populated by a recommendation rule (NOT Ajax) fired by a boolean attribute, when any SSPL value is changed manually, all values are removed (this can be confirmed by checking the config XML), to see in the UI how the values are removed, it is needed to click update and refresh the page.
The SSPL needs to be used in an Ajax recommendation or Ajax hiding rule (it doesn't need to be related to the functionality described above and it doesn't have to do anything special), if the Ajax is disabled from the rule, the issue will no longer occur.

EXPECTED BEHAVIOR
-----------------------
The SSPL values should be retained.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Data table with some records
Config model
Config integer attribute as array size control attribute default 3 (to have more than one row from start)
Config array single select menu attribute that contains entries which match the data table records
Config array single select pick list attribute which uses the data table
Config array boolean attribute
Config array text attribute
Config array which utilizes all attributes of above
Config flow with layout which has the control attribute and the array
Recommendation rule (non-ajax), condition: (menu Not Equals "") action attribute SSPL set type set, BML function return menu;
Recommendation rule condition (boolean Equals True) action attribute text set type forced set BML function return sspl;


Run configurator
Select a value for menu in row 1
Select a value for sspl in row 2
Set boolean true for all 3 rows (text gets updated for row 2 immediately)
Click update (text gets also updated for row 1 after sspl of row 1 was set)
Select a value for sspl in row 3 (text gets updated for row 3 immediately)
Click update twice
The values of text in row 2 and row 3 are cleared. The pipeline viewer shows that sspl in row 2 and 3 are empty. If you add the configuration to a transaction you can verify (e.g. by reconfigure) that the values were lost permanently. This is unexpected.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users need to re-select SSPL values.

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.