Loading...
Loading...
Issue: In IE11/Edge browsers only, an onChange catalog client script containing an "alert" which is associated with a Multiple Choice variable will clear the selected value of the variable in Service Portal when user clicks "OK" on the popup. Impacted releases: Reproduced in London Patch 5/6 and Madrid Patch 0 Non-impacted release: Kingston Patch 13 Steps to Reproduce 1. Log into London or Madrid instance using IE11 or Edge 2. Open the OOB "New LDAP Server" record producer 3. In the Accessibility section select a value for the Category field to make it easier to search for 4. Scroll to the Variables related list and open the "Type of LDAP Server" variable record 5. In the Type Specifications section check the "Do not select the first choice" box 6. In the Default Value section clear the value for the "Default value" field 7. Save the changes 8. Return to the "New LDAP Server" record producer record 9. Scroll to the Catalog Client Scripts related list and click New 10. Create a new script with the following values: -- Name: Popup Test -- UI Type: All -- Type: onChange -- Variable name: server_provider -- Script: [code]<pre><code>function onChange(control, oldValue, newValue, isLoading) {<br/> if (isLoading || newValue == '') {<br/> return;<br/> }<br/><br/> if (newValue == 'ActiveDirectory') {<br/> alert('You selected ActiveDirectory');<br/> }<br/><br/>}<br/></code></pre>[/code] 11. Open Service Portal and search for and open "New LDAP Server" 12. Select "Active Directory" for the Type of LDAP Server question 13. The alert popup should be displayed 14. Click OK to hide the popup Expected behavior: Activiy Directory should still be selected Actual behavior: Active Directory selection will be cleared
Use g_form.showFieldMsg to display message instead
PRB1329687
Click on a version to see all relevant bugs
ServiceNow Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.