laptop and a wrench

漏洞

FeatureClass.GetDefinition method fails with error "The dataset 'featureClassName' does not have a valid definition." when called on Feature class with a join

上次发布: January 26, 2021 ArcGIS Pro SDK for .NET
漏洞 ID 编号 BUG-000136933
已提交January 22, 2021
上次修改时间September 19, 2024
适用范围ArcGIS Pro SDK for .NET
找到的版本2.7
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Known Limit

附加信息

As stated in the API reference (https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic7015.html), FeatureClass.GetDefinition() throws an exception when called on a joined feature class, because there is no underlying datastore for these temporary datasets. FeatureClass.IsJoinedTable can be used to determine if a feature class belongs to a Join, and FeatureClass.GetJoin can be used to fetch the join. Join.GetDestinationTable and Join.GetOriginTable can be used to get the destination and origin tables. These tables be joins. When IsJoinedTable for a table returns false call GetDefinition.

重现步骤

漏洞 ID: BUG-000136933

软件:

  • ArcGIS Pro SDK for .NET

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项