laptop and a wrench

Bogue

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

Dernière publication: May 23, 2019 ArcGIS Runtime SDK
Numéro d’ID de bogue BUG-000122250
EnvoiMay 8, 2019
Dernière modificationJune 5, 2024
S’applique àArcGIS Runtime SDK
Version trouvée100.5
Système d’exploitationAndroid
Version du système d’exploitationN/A
StatutWill Not Be Addressed

Informations supplémentaires

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);

Étapes pour reproduire

ID de bogue: BUG-000122250

Logiciel:

  • ArcGIS Runtime SDK

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement