Not sure if this has been addressed already, but I just came across what seems to be a variable typing problem in FinalBuilder Server 6.0.0.296. (running against FinalBuilder 6.0.0.574)
To reproduce:
- Create a FB project with a variable "my_var"
- Add the "Log Variable Values" action to record the value of my_var
- Save project
- Add that project to FB Server
- Set the my_var project variable in FB Server to be "1.0"
- Run the project in FB Server.
Expected:
Log will output a value of "1.0" for my_var.
Actual result:
Log outputs a value of "1" for my_var.
Other notes:
- Setting the my_var value in FB Server to be "1_0" or "1.5" behaves as one would expect; you get the correct value in the log.
- If you bypass FB Server completely by creating a brand new project, then include the original project with an "Include Project" action, and set my_var to "1.0" in that action, then my_var is logged as "1.0" as expected. Therefore, the problem seems to exists in FB Server only.
So... in the mean time, how can i coerce the value of a variable to remain a string? :-)
Thanks,
-John