View Issue Details

IDProjectCategoryView StatusLast Update
0000724HeurekaData importpublic2024-11-15 17:12
Reporterjonare Assigned Toosskyn  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Product Version2.23.0.1 
Target Version2.23.1Fixed in Version2.23.1 
Summary0000724: SimulateTreeDialog throws error if the length of Area description exceeds 50 characters
DescriptionDue to different behaviour in DbDataAdapter.Update(...) and SqlBulkCopy.WriteToServer(...) an error is now thrown is the length is longer than the database limit.

Previous implementation in ForestUnitCreator.cs (see r22427) used DbDataAdapter.Update which silently truncated the string.

To fix problem:
1. Update the dsForest schema dsForest.xsd: set Area.Description MaxLength to 50, to match the SQL Server database).
1b. Also rollback the change in r22496 to dsForest.Designer.cs and add those MaxLengths to the table StandObject in dsForest.xsd

2. Add validation to SimulateTreeDialog.cs. (don't let user continue if Area description is longer than the dsForest.Area.Description.MaxLength).

TagsNo tags attached.
ProductGeneral

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-11-13 15:49 jonare New Issue
2024-11-15 17:12 osskyn Assigned To => osskyn
2024-11-15 17:12 osskyn Status new => resolved
2024-11-15 17:12 osskyn Resolution open => fixed
2024-11-15 17:12 osskyn Fixed in Version => 2.23.1