The Tracer.Trace() method unexpectedly returns zero results for named trace configurations in a utility network in the ArcGIS Pro SDK for .NET CoreHost application.
ArcGIS Pro SDK for .NET
漏洞 ID 编号
BUG-000164643
已提交
January 26, 2024
上次修改时间
June 5, 2024
适用范围
ArcGIS Pro SDK for .NET
找到的版本
3.2
操作系统
Windows OS
操作系统版本
10.0 64 Bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
The TraceArgument.ResultTypes is set to 0. The named trace configuration to JSON is exported and confirmed this: "resultTypes":[].
When creating the named trace configuration, the Result Types popup is set to include one or more result types (such as 'Selection').
The Pro UX automatically defaults to include 'Selection', but the developer's APIs (Pro SDK, JavaScript, Maps SDK for Native Apps) read the value literally.
An issue is written up either Prevent the 'Add Trace Configuration' geoprocessing tool from running if Result Types is left blank, or Automatically append the 'Selection' result type if nothing is specified.
解决办法
Recreate named trace configurations to have a valid Result Type.