laptop and a wrench

Bug

Publishing a hosted feature service from a layer, which is time-enabled with a non-date numeric field, causes the hosted feature service to contain zero features.

Zuletzt veröffentlicht: October 16, 2017 ArcGIS Online
Bug-ID-Nummer BUG-000083653
EingereichtNovember 26, 2014
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Online
Gefunden in VersionN/A
BetriebssystemWindows OS
Betriebssystemversion7
StatusKnown Limit

Zusätzliche Informationen

The reason for the failure is basically a user error: The user specified the time field as year and the format as YYYY. Although permissible to use a numeric field as the year, ''1'' is not a valid year in the current framework. ''1970'' is (either as string or numerical). The process fails when the server side publishing tool is executed (the publishing tool expects a four digit number). The user interface allows to pick any field (including length and area fields), which seems questionable. Analyzer that goes through the whole table and checks the field values could be a solution but for this purpose the table would have to be opened, which is expensive. For now maybe the best solution is to document the issue and educate users on how to use time in this context.

Workaround

Create a new field with a date field type in the dataset, and calculate the date based on the time indicated in the non-date field.

Schritte zur Reproduzierung

Bug-ID: BUG-000083653

Software:

  • ArcGIS Online

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln