Numéro d’ID de bogue |
BUG-000174956 |
Envoi | March 11, 2025 |
Dernière modification | July 7, 2025 |
S’applique à | ArcGIS Pro |
Version trouvée | 2.9.12 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 11.0 64 bit |
Statut | As Designed
Après examen par l’équipe de développement, il a été déterminé que ce comportement est prévu. Pour plus d’informations, reportez-vous à la section Informations supplémentaires.
|
Informations supplémentaires
The behavior in which the REST query ST_CODE = 54 fails without quotes but succeeds with ST_CODE = '54' is expected and by design. This is consistent with our official documentation on standardized queries in ArcGIS Server, which enforces SQL-92 syntax for security purposes (see: https://resources.arcgis.com/en/help/main/10.2/index.html#//015400000641000000).
Solution de contournement
Immediate Fix:
- Use: ST_CODE = '54'.
- Effect: Resolves the error regardless of settings, as validated in the test report.
Long-Term Consistency:
- Verify Settings: Path: system > properties > update.
- Confirm: "standardizedQueries": "true".
- Action: Keep enabled for security.
- Avoid Disabling: Disabling ("standardizedQueries": "false") allows lax syntax but risks SQL injection.
Étapes pour reproduire
ID de bogue: BUG-000174956
Logiciel: