When categories are assigned via a Python script, editing them in ArcGIS Online's interface removes all pre-assigned categories.
上次发布: August 15, 2018ArcGIS API for Python
漏洞 ID 编号
BUG-000114520
已提交
June 7, 2018
上次修改时间
June 30, 2025
适用范围
ArcGIS API for Python
找到的版本
1.4.1
操作系统
Windows OS
操作系统版本
10.0
修正版本
1.5
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
When assigning a category via Python script, include /Categories/ prefacing the desired category to assign:before: agoCatMan.categorize_item(item=item, categories='Super Awesome Stuffs')after: agoCatMan.categorize_item(item=item, categories='/Categories/Super Awesome Stuffs')