laptop and a wrench

漏洞

Field aliases are returned instead of the field names when trying to execute the GetFeatureInfo and DescribeFeatureType operations on the Web Feature Service (WFS) service.

Portal for ArcGIS
漏洞 ID 编号 BUG-000170398
已提交August 30, 2024
上次修改时间November 7, 2024
适用范围Portal for ArcGIS
找到的版本10.9.1
操作系统N/A
操作系统版本N/A
状态As Designed

附加信息

When publishing a WFS service, the field aliases are used by default and modified to fit the criteria of a field name (i.e. replace spaces with underscores etc.). The documentation isn't clear on this, the documentation will be updated for WFS services. Use the ignoreAliases service property as described in the workaround section to force the service to use field names instead of field aliases.

解决办法

Set the ignoreAliases WFS service property to true to force the service to use the field names instead of the field aliases.

Steps:

1. Sign in to the ArcGIS Server REST admin api, e.g. https:///server/admin

2. Under Resources, click Services and the service to be enabled.

3. Scroll to the bottom and select Edit under the Supported Operations section. This shows the service properties in JSON format.

4. Scroll to find the section where typeName: WFSServer.

5. In the Properties section, under serviceType:, add a new line ignoreAliases: true.

6. Click the Save Edits button.

7. The service now uses the field names instead of the field aliases. Refer to this documentation https://developers.arcgis.com/rest/enterprise-administration/server/extensiontypes/#wfsserver for more information about the ignoreAliases and other WFS service properties.

重现步骤

漏洞 ID: BUG-000170398

软件:

  • Portal for ArcGIS

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项