View Issue Details

IDProjectCategoryView StatusLast Update
0008547CTT UA Scripts1 - Script Issuepublic2023-02-18 06:31
ReporterAlexander Allmendinger Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.04.500 
Target Version1.03.502Fixed in Version1.03.502 
Summary0008547: gServerCapabilities.DefaultLocaleId is undefined if server has no DefaultLocaleId
Description

It is allowed for a server to have an empty LocaleIdArray. But if a server does not provide this, the script library sets the value to the first index of the array which happens to be not defined.
Script library (serverCapabilities.js) need to check if the Array is provided at all and if not, keep the LocaleIdArray set to an empty string.

The LocaleIdArray is being used by the A&C scripts and the undefined field causes scripts to fail.

TagsNo tags attached.
Files Affected

/library/Base/serverCapabilities.js

Activities

Sebastian Allmendinger

2023-01-31 06:27

developer   ~0018621

The library script has been updated to keep an empty string as DefaultLocaleId if the LocaleIdArray contains no elements.

Paul Hunkar

2023-02-18 06:31

administrator   ~0018747

Reviewed in call (2023-02-10) agreed to changes, closed issue

Issue History

Date Modified Username Field Change
2023-01-03 10:23 Alexander Allmendinger New Issue
2023-01-05 17:18 Paul Hunkar Assigned To => Sebastian Allmendinger
2023-01-05 17:18 Paul Hunkar Status new => assigned
2023-01-21 17:06 Sebastian Allmendinger Files Affected => /library/Base/serverCapabilities.js
2023-01-31 06:27 Sebastian Allmendinger Status assigned => resolved
2023-01-31 06:27 Sebastian Allmendinger Resolution open => fixed
2023-01-31 06:27 Sebastian Allmendinger Note Added: 0018621
2023-02-18 06:23 Paul Hunkar Product Version => 1.04.500
2023-02-18 06:23 Paul Hunkar Fixed in Version => 1.03.502
2023-02-18 06:23 Paul Hunkar Target Version => 1.03.502
2023-02-18 06:31 Paul Hunkar Status resolved => closed
2023-02-18 06:31 Paul Hunkar Note Added: 0018747