laptop and a wrench

Error

Unable to create features in FeatureLayer when adding an attribute of type date.

Última publicación: May 23, 2019 ArcGIS Runtime SDK
Número de ID del error BUG-000122250
EnviadoMay 8, 2019
Última modificaciónJune 5, 2024
Relacionado conArcGIS Runtime SDK
Versión encontrada100.5
Sistema operativoAndroid
Versión de sistema operativoN/A
EstadoWill Not Be Addressed

Información adicional

The DATE field is of Type Java Calendar so when editing or creating new features, the Calendar object must be used for the date field: https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/data/Field.Type.html#DATE Example: DateFormat sdf= new SimpleDateFormat("MM/dd/yyyy hh:mm:ss a"); String dateInString="05/05/2019 10:20:56 AM"; Date date= (Date) sdf.parse(dateInString); Calendar calendar = Calendar.getInstance(); calendar.setTime(date); attributes.put("DATE",calendar);

Pasos para reproducir

ID del error: BUG-000122250

Software:

  • ArcGIS Runtime SDK

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