|Not correct variable processing [message #1767758]
||Mon, 10 July 2017 17:55
| Milos Hroudny
Registered: June 2017
I found some behavior that seems not to be correct, but may it could be fault|
on my side. Check, please.
I created two user modules based on the standard module <ub_app_storeValue>.
The first one is a simple wrapper and I call it <StoreValue>. This module accepts
the same parameters as original standard module.
The second module is also a wrapper and it accepts also two parameters as the first one, but I wanted it to accept only integer value. From this reason I opened the Edit parameters dialog and configured the second parameter type to Integer.[Evidence1.png]. I call the module <StoreInteger>.
The configuration works fine if I try to enter/konfigure the value manually in Properties [Evidence2.png, Evidence3.png].
If I use a variable as a value, I expected, that in case that variable contains string,
the Configuration error will be fired due to check of the value. Anyhow the test passes. As you can see on the evidence4.png, in the <StoreValue> is stored string Hello to the variable Temp. In the <StoreInteger> is stored the value of variable
$Temp, i.e. string Hello', to the second parameter of <StoreInteger> , that is configured as Integer.
Finally is the value of the variable $Number put in the clipboard.
Powered by FUDForum
. Page generated in 0.01869 seconds