laptop and a wrench

Bogue

IFeatureDataConverter alters fields defined as double when inserted into SDE.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM032513
EnvoiFebruary 22, 2008
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.2
StatutWill Not Be Addressed

Informations supplémentaires

No Public Explanation

Solution de contournement

User checks his fields collection and redefines the scale and precision before running IFeatureDataConverter.When I loop through the output fields (debugging in line by line) afterthe IFieldChecker validate function the precision and scale of doublefields is correct. We had even forced a temporary workaround to thewould-be bug by "modifying" the precision of double fields as: if (F.Type == esriFieldType.esriFieldTypeDouble){ IFieldEdit2 fe2 = F as IFieldEdit2; if (F.Precision > F.Scale - 1) fe2.Precision_2 = F.Precision - F.Scale + 1;}

Étapes pour reproduire

ID de bogue: NIM032513

Logiciel:

  • No Product Found

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