laptop and a wrench

Error

The Create Replica ArcGIS REST API operation returns unexpected results when using a date in the query layer parameter.

Última publicación: August 22, 2022 ArcGIS GIS Server
Número de ID del error BUG-000151515
EnviadoAugust 11, 2022
Última modificaciónAugust 22, 2022
Relacionado conArcGIS GIS Server
Versión encontrada10.9.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoIn Review

Solución alternativa

Add double quotation marks ('') around the date paremeter to return the correct results.

When the query is tweaked from this:

{"0":{"queryOption": "useFilter", "useGeometry": true, "where":"date>date'2022-01-01 00:00:00'" }}

To this:

{"0":{"queryOption": "useFilter", "useGeometry": true, "where":"'date'>date'2022-01-01 00:00:00'" }}

 It is able to process and return the correct data.

Pasos para reproducir

ID del error: BUG-000151515

Software:

  • ArcGIS GIS Server

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga