laptop and a wrench

Bug

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

Last Published: August 22, 2022 ArcGIS GIS Server
Bug ID Number BUG-000151515
SubmittedAugust 11, 2022
Last ModifiedAugust 22, 2022
Applies toArcGIS GIS Server
Version found10.9.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusIn Review

Workaround

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.

Steps to Reproduce

Bug ID: BUG-000151515

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options