Notifications

489 views

Description

Alert popup messages appear multiple times for onChange client scripts.

Steps to Reproduce

 1) Login to Helsinki instance
 
2) Find any catalog item such as "Request Developer Project Equipment"
 
3) Add a variable of type Checkbox:
--- Name: test_client
--- Question: Testing Client Script
--- Save / Update
 
4) In the Catalog client scripts tab, click New:
--- UI Type: both
--- type: onChange
--- variable name: test_client
--- Script:
 
function onChange(control, oldValue, newValue, isLoading) {

   if (isLoading || newValue == '') {

      return;

   }

alert("test");

   //Type appropriate comment here, and begin script below

   

}
 
5) Navigate to Service Portal > Request Developer Project Equipment > check the "Testing the Client Script" checkbox. 
 
6) You will get an alert "test". Press OK and you will keep getting the alert message every time you press OK. 
 
Actual Behavior:
The alert message keeps popping up every time you click OK
 
Expected Behavior:
The alert message only pops up once.

 

Workaround

This issue is fixed. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.


Related Problem: PRB748945

Seen In

Helsinki Patch 8

Fixed In

Kingston

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-08-17 13:59:17
Published:2018-08-17