-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON API SysVar.createEnum will always be internal #119
Comments
Sorry, but for me this works with the following JSON payload: {"version": "1.1", "method": "SysVar.createEnum", "params": {"name": "TestPublic", "valList": "Foo;Bar;Blue", "internal": 1, "chnID": -1, "_session_id_": "XXXXX"}} The response will then be: {"version": "1.1","result": {"name":"TestPublic","id":"2634","value":"Foo;Bar;Blue" },"error": null} |
Yes, but are you able to use |
sysvar creating with Internal() working correctly. This refs eq-3/occu#119
Ok, I tested |
To reproduce create a system variable using
SysVar.createEnum
, expected parameters are "name", "valList", "internal" and "chnID".For
internal
, the tcl (createenum.tcl) documents that an integer value is to be passed. I tried0
,1
,2
andfalse
(you never now), in all cases the api would not return any sort of error, but never would create a visible variable.As requested for the other issues some payloads.
SysVar.createEnum
:Response is successful:
SysVar.getAll
will show the variable as internal, the WebUI will not show it:The text was updated successfully, but these errors were encountered: