View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000724 | Heureka | Data import | public | 2024-11-13 15:49 | 2024-11-15 17:12 |
Reporter | jonare | Assigned To | osskyn | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | 2.23.0.1 | ||||
Target Version | 2.23.1 | Fixed in Version | 2.23.1 | ||
Summary | 0000724: SimulateTreeDialog throws error if the length of Area description exceeds 50 characters | ||||
Description | Due 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). | ||||
Tags | No tags attached. | ||||
Product | General | ||||