laptop and a wrench

漏洞

When using the Merge tool in ArcPy, the field mappings are not honored.

ArcGIS Pro
漏洞 ID 编号 BUG-000171352
已提交October 9, 2024
上次修改时间June 21, 2025
适用范围ArcGIS Pro
找到的版本3.3.1
操作系统Windows OS
操作系统版本10.0 64 Bit
修正版本3.5
状态Fixed

附加信息

This issue is addressed in ArcGIS Pro 3.5.

解决办法

In the Python notebook script, change the call to the Merge tool from arcpy.Merge_management([st_class, rc], merge_path, f_Mappings) to arcpy.Merge_management([st_class, rc], merge_path, f_Mappings.exportToString()). This uses the string version of the FieldMappings object as input to the Merge tool instead of the arcpy.FieldMappings() object and produce the expected output.

重现步骤

漏洞 ID: BUG-000171352

软件:

  • ArcGIS Pro

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项