IFeatureDataConverter alters fields defined as double when inserted into SDE.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM032513
已提交
February 22, 2008
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.2
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
No Public Explanation
解决办法
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;}