laptop and a wrench

漏洞

The overwrite() method from ArcGIS API for Python produces a "{'success': True}" message but there are no changes or updates observed.

ArcGIS API for Python
漏洞 ID 编号 BUG-000162267
已提交October 20, 2023
上次修改时间June 25, 2025
适用范围ArcGIS API for Python
找到的版本2.1.0
操作系统Windows OS
操作系统版本10.0
状态Non-Reproducible

附加信息

The issue is not reproducible in ArcGIS API for Python version 2.2.0.1. Update to ArcGIS API for Python version 2.2.0.1. gis = GIS( profile='your_login_profile') fp = r"C:\data\OverwriteAPI.gdb.zip" item = gis.content.add( { "title": "overwrite_test", "type": "File Geodatabase", }, data=fp, ) pitem = item.publish() # add new data to the file geodatabase listed above in ArcGIS Pro. # flc = FeatureLayerCollection.fromitem(item) mgr = flc.manager mgr.overwrite(data_file=fp) After updating to ArcGIS API for Python version 2.2.0.1, the new feature data added to the file geodatabase is re-zipped and provided to the overwrite method to allow the data to be updated. This method is tested in ArcGIS Online and ArcGIS Enterprise with no issues on any platform.

重现步骤

漏洞 ID: BUG-000162267

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项