Numéro d’ID de bogue |
BUG-000113965 |
Envoi | May 15, 2018 |
Dernière modification | June 5, 2024 |
S’applique à | ArcGIS Online |
Version trouvée | N/A |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 10.0 64 Bit |
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 query would work if a “N” prefix is added to the where clause (i.e. “YEs_NO = N'ใช่'”). The fact that the N prefix works suggests that there’s a possible mismatch between the encoding of the field type (e.g. in Unicode) and the input character (e.g. non-Unicode). The prefix can let the database know how to handle the conversion.
However, the "N" prefix is a Microsoft SQL Server convention. Inserting it into the WHERE clause will imply that Operations Dashboard knows the implementation details of a feature service (e.g. what database is used), and in a RESTful system we should not have this knowledge.
The service in question actually has the useStandardizedQueries flag disabled. Our recommended workflow is that useStandardizedQueries=true should be enabled. When this flag is enabled, the feature service code will get in the middle between the client and the database and will manipulate the query being built, and the where clause we send will work as is (i.e. without the "N" prefix).
Étapes pour reproduire
ID de bogue: BUG-000113965
Logiciel: