laptop and a wrench

漏洞

The ArcGIS API for Python export() or delete() call creates occasional ghost indexes on ArcGIS Online.

上次发布: September 23, 2021 ArcGIS Online
漏洞 ID 编号 BUG-000119033
已提交December 26, 2018
上次修改时间December 20, 2023
适用范围ArcGIS Online
找到的版本N/A
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Under Consideration

解决办法

The script calls the following functions:

 

exported_backup_feature = backup_feature.export(backup_feature.title,

                            'File Geodatabase', parameters=None, wait='True')

fgdb = gis.content.get(exported_backup_feature['exportItemId']) # backup_feature ID

fgdb.download(save_path=output_folder)

fgdb.delete()

 

By amending the order of functions called, and calling delete on the output of fgbd.export(), running the script does not produce ghost indexes. Below are the amended script calls:

fgdb = gis.content.get('<itemID>')

toExport = fgdb.export('name','File Geodatabase')

toExport.download(save_path=r"FIlePath")

toExport.delete()

重现步骤

漏洞 ID: BUG-000119033

软件:

  • ArcGIS Online

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项