| 漏洞 ID 编号 |
BUG-000121155 |
| 已提交 | March 25, 2019 |
| 上次修改时间 | April 22, 2025 |
| 适用范围 | ArcGIS Pro |
| 找到的版本 | 2.3.1 |
| 操作系统 | Windows OS |
| 操作系统版本 | N/A |
| 状态 | Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
|
附加信息
The issue is how the queryStr in being generated.
The string being built is: "RAPP_Year" = 2017
The string must be: RAPP_Year = “2017”
This code:
field = '"RAPP_Year"'
queryStr = field + " = " + str(manage_year)
The code was changed to this code and it now works as expected:
field = 'RAPP_Year'
queryStr = f"{field} = '{manage_year}'"
解决办法
The code was modified to produce the correct definition query string.
重现步骤