The ArcPy updateConnectionProperties function fails to update properties of enterprise geodatabase layers as expected when using an .SDE file path for the new_connection_info parameter.
上次发布: April 2, 2018ArcGIS Pro
漏洞 ID 编号
BUG-000112574
已提交
March 20, 2018
上次修改时间
July 15, 2025
适用范围
ArcGIS Pro
找到的版本
2.0.1
操作系统
Windows OS
操作系统版本
7
修正版本
2.6
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
Use two dictionaries with the connection info instead, one with the current connection properties of the layer to be replaced and one with the new connection properties.