| Numéro d’ID de bogue |
BUG-000121155 |
| Envoi | March 25, 2019 |
| Dernière modification | April 22, 2025 |
| S’applique à | ArcGIS Pro |
| Version trouvée | 2.3.1 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | N/A |
| Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
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}'"
Solution de contournement
The code was modified to produce the correct definition query string.
Étapes pour reproduire