laptop and a wrench

漏洞

The gis.content.import_data() method in ArcGIS API for Python incorrectly parses data if a list is returned.

上次发布: January 17, 2023 ArcGIS API for Python
漏洞 ID 编号 BUG-000121496
已提交April 4, 2019
上次修改时间June 5, 2024
适用范围ArcGIS API for Python
找到的版本1.5.2
操作系统Windows OS
操作系统版本10.0 64 Bit
状态As Designed

附加信息

The user object response contains multiple properties that are lists of either strings or dictionaries. These properties, particularly privileges and groups, need to be flattened or replaced with strings in order to publish a table with user properties in this manner.

解决办法

Drop the original 'groups' column with its list of dictionaries and replace it with a groups column with a string, and drop the original 'privileges' column with its list of strings and replace it with a 'privileges' column with one string. This successfully parses results into a feature set.

重现步骤

漏洞 ID: BUG-000121496

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项