laptop and a wrench

Bug

The Portal History REST operation does not honor the toDate parameter.

Last Published: March 23, 2023 ArcGIS API for Python
Bug ID Number BUG-000125063
SubmittedSeptember 6, 2019
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version found1.6.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusNon-Reproducible

Additional Information

The issue is no longer reproducible.

Workaround

If querying programmatically, explicitly set a condition to break the loop when the created property of returned items is no longer less than the toDate value.

Example logic for a Python while loop:

while (h['nextKey'] is not None) and (items[-1]['created'] < timestamp):

Steps to Reproduce

Bug ID: BUG-000125063

Software:

  • ArcGIS API for Python

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