| Bug ID Number |
BUG-000121155 |
| Submitted | March 25, 2019 |
| Last Modified | April 22, 2025 |
| Applies to | ArcGIS Pro |
| Version found | 2.3.1 |
| Operating System | Windows OS |
| Operating System Version | N/A |
| Status | Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
|
Additional Information
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}'"
Workaround
The code was modified to produce the correct definition query string.
Steps to Reproduce