laptop and a wrench

漏洞

The error message, "RuntimeError: Failed to evaluate Arcade expression." is erroneously returned when running the Calculate Geometry Attributes tool against a feature service that contains attribute rules with the 'Exclude from application evaluation' option unchecked.

ArcGIS Pro
漏洞 ID 编号 BUG-000158561
已提交May 24, 2023
上次修改时间June 5, 2024
适用范围ArcGIS Pro
找到的版本3.0.3
操作系统Windows OS
操作系统版本10.0 64 Bit
修正版本3.2, 3.0.6, 3.1.3, 2.9.11
状态Fixed

附加信息

This issue is addressed in ArcGIS Pro version 3.2, 3.0.6, 3.1.3, 2.9.11.

解决办法

Workaround 1: Have an active edit session (Save and Discard buttons under Edit tab, which causes the Manage Edits group to be available and not grayed out) prior to running the Calculate Geometry Attributes tool.

Workaround 2: Close ArcGIS Pro and stop the service in ArcGIS Server Manager. Launch ArcGIS Pro, open the Attribute Rules view for the enterprise geodatabase feature class in question, check the 'Exclude from application evaluation' option under the Execution section for the calculation rule and click Save. Close ArcGIS Pro and start the service from ArcGIS Server Manager. Then, launch ArcGIS Pro and run the Calculate Geometry Attributes tool.

重现步骤

漏洞 ID: BUG-000158561

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项