laptop and a wrench

漏洞

The Addition function in the Survey123 Connect for ArcGIS 1.6 app appends the input values instead of summing them up correctly if the first input field is blank or if there are any input fields skipped and left blank.

上次发布: September 26, 2016 ArcGIS Survey123
漏洞 ID 编号 BUG-000098738
已提交August 19, 2016
上次修改时间August 15, 2020
适用范围ArcGIS Survey123
找到的版本1.6
服务器平台Windows
客户端平台7.0 64 Bit
Version Fixed1.8
状态Fixed

解决办法

Make all input fields as required fields, and provide the hint, 'Enter the value zero (0) instead of leaving it blank'.Alternative 1: Use the if-then-else statement in the calculation to force '0' to be calculated instead of supplied, for example: (if(${one}=0,1-1,${one}))+(if(${two}=0,1-1,${two}))+(if(${three}=0,1-1,${three}))+(if(${four}=0,1-1,${four})).Alternative 2: Cast the field values as integers so that Survey123 treats the fields as numbers instead of strings, for example: int(${field1})+int(${field2}).

重现步骤

漏洞 ID: BUG-000098738

软件:

  • ArcGIS Survey123

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

发现关于本主题的更多内容