laptop and a wrench

漏洞

Records are missing in tables and feature classes when running the replicas.create command in ArcGIS API for Python.

上次发布: June 3, 2021 ArcGIS API for Python
漏洞 ID 编号 BUG-000130078
已提交April 10, 2020
上次修改时间June 28, 2025
适用范围ArcGIS API for Python
找到的版本1.8
操作系统Windows OS
操作系统版本10.0 64 Bit
修正版本2.0.0
状态Fixed

解决办法

Option 1:

Within the Python API script, specify a layer queries argument for all layers in the replica:

  • Use <layer number>{"queryOption": "all", ""useGeometry": True, "where': "1=1"} for feature classes and <layer number>{"queryOption": "all", "where': "1=1"} for tables.
  • This is to force a query of all features and the records are not missing in the output.
  • Sample script attached 'Replica_workaround.'

Option 2:

Replicate the data in ArcGIS Online by creating a replica in the REST endpoint of the feature layer collection, or by using the Export Data function in the items details page of the feature layer collection.

In the REST endpoint:

  1. Click Create Replica at the bottom of the page.
  2. Give the replica an appropriate name.
  3. Enter the layer numbers of the replica.
  4. Change Sync Model to None.
  5. Change Target Type to Server.
  6. Change Data Format to FileGDB.
  7. Click Create Replica.

重现步骤

漏洞 ID: BUG-000130078

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项