Details
-
Type: Maintenance
-
Status: Under Review (View Workflow)
-
Resolution: Unresolved
-
Labels:None
-
Old bug number:31137
-
environment:
Description
Summary:
Uniface: The information retuned by the Proc function $setting is not always
correct when USYS is used as source.
Symptoms:
The information retuned by the Proc function $setting is not always correct
when USYS is used as source.
Consider the following:
1. Incorrect list of settings returned when using "USYSSETTINGS" and querying a
section: e.g.
vSettings = $setting ("USYS", "paths*", "USYSSETTINGS")
; vSettings =
"widget=STRING;image=STRING;javascript=STRING;css=STRING;events=STRMAP"
=> Only the setting javascript actually belongs to the section [paths].
=> Expected result for [paths] (e.g.): vSettings =
"javascript=STRING;workdir=STRING;usysins=STRING;usysadm=STRING;usysbin=STRI
NG;usyscom=STRING;usysuniface=STRING;usys=STRING"
=> When querying the sections [application], [user], [upi], [layout],
[toolbar], [state], or [help] then the expected list of settings is returned.
2. Incorrect value returned when using "USYSSETTINGS" and querying one specific
setting of a section: e.g.
vSetting = $setting ("USYS", "paths\usysadm", "USYSSETTINGS")
; vSetting = "C:\Program Files (x86)\Uniface\Uniface 9.7.01\uniface\adm\"
=> Expected result: vSettings = "usysadm=STRING"