Issue report by Carl Schwarz
Product
FileMaker ServerVersion
13Operating system version
WindowsDescription of the issue
I have a script that does this logical test inside an if script step:(Get ( WindowDesktopHeight ) > 1000
In webdirect this returns the size as 682 which I can see in a "Show Custom Dialog" script step. This script step will evaluate as true even though the size is only 682!!!
Note that this logical test works fine in Filemaker pro clients.
Steps to reproduce the problem
Have a script that tests for window height and use it for a logical comparator in webdirectThe exact steps in the script are
show custom dialog[get(windowdesktopheight)]
allow user abort[off]
if[ Get ( WindowDesktopHeight ) > 1000 ]
.....
Expected result
682 is smaller than 1000 so the logical test should return false.Actual result
The logical test returns true for 682 > 1000Exact text of any error message(s) that appear
NAConfiguration information
Windows 8.1 laptop hosting server using TechNet license. IE client.Workaround
Wrap getasnumber() around get(window desktop height).The logical operator evaluates correctly then.
This works fine for true and false cases:
GetAsNumber(Get ( WindowDesktopHeight )) > 1000