laptop and a wrench

漏洞

When creating a user, the ArcGIS API for Python documentation states the role is optional. If the role is left as none, the following error message is returned: "'NoneType' object has no attribute 'lower'".

ArcGIS API for Python
漏洞 ID 编号 BUG-000161671
已提交September 26, 2023
上次修改时间June 5, 2024
适用范围ArcGIS API for Python
找到的版本N/A
操作系统Windows Server
操作系统版本2019 64 Bit
修正版本2.2.0
状态Fixed

解决办法

Make the role required, or change line 3986 in geosaurus\src\arcgis\gis_init_.py to:

The elif role is not 'None' and role.lower() in role_lookup:

重现步骤

漏洞 ID: BUG-000161671

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项