laptop and a wrench

漏洞

When using ArcGIS Pro and sharing a project template including a Python toolbox, variables defined with f-string values may be renamed to g_ESRI_variable, potentially introducing errors in the variable values.

ArcGIS Pro
漏洞 ID 编号 BUG-000170395
已提交August 30, 2024
上次修改时间August 18, 2025
适用范围ArcGIS Pro
找到的版本3.3.1
操作系统Windows OS
操作系统版本11.0 64 bit
状态Non-Reproducible

附加信息

This issue was addressed in ArcGIS Pro 3.5. Packaging and consolidating of f-strings in Python code should be good starting at ArcGIS Pro 3.5. Refer to https://community.esri.com/t5/arcgis-pro-ideas/use-of-f-strings-in-gp-tools-share-as-webtool/idi-p/1473633 for more information.

解决办法

Use concatenated string values utilizing "" and + instead of f-strings, or use ArcGIS Pro 3.2.x.

重现步骤

漏洞 ID: BUG-000170395

软件:

  • ArcGIS Pro

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项