Error description:
I cannot upload templates, even if they have not been changed.
It crashes with an overflow exception, as can be seen in the following screenshot:
After uploading the template, 2 attributes are shown in the window, but the others are missing,
so I assume the error happens on the third line of the template.
This attribute's “Max Value” property is 10000000000.
The “Max Value” is a default configuration and was not changed by us.
The error seems to happen, because this exceeds the upper boundaries of the Int32 data type.
It should rather be an Int64.
Specific error
System.OverflowException: Der Wert für einen Int32 war zu groß oder zu klein.
bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
bei Colso.Xrm.AttributeEditor.AppCode.TemplateHelper.ConvertToRawValue(ColumnAttribute column, String stringvalue)
bei Colso.Xrm.AttributeEditor.AppCode.AttributeMetadataRow.FromListViewItem(ListViewItem item)
bei Colso.Xrm.AttributeEditor.AttributeEditor.<>c__DisplayClass39_0.b__0(Object sender, DoWorkEventArgs e)
bei System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
bei System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Steps to reproduce:
Pick a table, I used “Unit” as it has relatively few Fields and I never modified it.
Download template.
Select template file.
Upload the template that has just been saved.
Environment
Attribute Editor-Version: 1.2023.9.2
XrmToolBox-Version: 1.2023.12.68
Dataverse-Version: 9.2.23121.00190
OS: Windows 11 Pro 64 bit
Error description: I cannot upload templates, even if they have not been changed. It crashes with an overflow exception, as can be seen in the following screenshot:
After uploading the template, 2 attributes are shown in the window, but the others are missing, so I assume the error happens on the third line of the template.
This attribute's “Max Value” property is 10000000000. The “Max Value” is a default configuration and was not changed by us. The error seems to happen, because this exceeds the upper boundaries of the Int32 data type. It should rather be an Int64.
Template File: uom_attributeeditor.xlsx
Specific error System.OverflowException: Der Wert für einen Int32 war zu groß oder zu klein. bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) bei Colso.Xrm.AttributeEditor.AppCode.TemplateHelper.ConvertToRawValue(ColumnAttribute column, String stringvalue) bei Colso.Xrm.AttributeEditor.AppCode.AttributeMetadataRow.FromListViewItem(ListViewItem item) bei Colso.Xrm.AttributeEditor.AttributeEditor.<>c__DisplayClass39_0.b__0(Object sender, DoWorkEventArgs e)
bei System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
bei System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
Steps to reproduce:
Environment Attribute Editor-Version: 1.2023.9.2 XrmToolBox-Version: 1.2023.12.68 Dataverse-Version: 9.2.23121.00190 OS: Windows 11 Pro 64 bit