漏洞 ID 编号 |
BUG-000148924 |
已提交 | May 2, 2022 |
上次修改时间 | June 5, 2024 |
适用范围 | ArcGIS API for Python |
找到的版本 | 2.0.0 |
操作系统 | N/A |
操作系统版本 | N/A |
状态 | Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
|
附加信息
The overwrite in the add method of the ContentManager is to state whether the item has the possibility to be overwritten.
Using add to overwrite is not a recommended workflow, instead, refer to the overwrite method found in the FeatureLayerCollectionManager class: https://developers.arcgis.com/python/api-reference/arcgis.features.managers.html?highlight=overwrite#arcgis.features.managers.FeatureLayerCollectionManager.overwrite.
解决办法
Create a script with conditional statements to bypass the error. Refer to Upload_Update_SHP_HFL as modified script.
重现步骤