View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000757 | Heureka | General | public | 2025-02-27 18:30 | 2025-05-02 09:59 |
Reporter | admin | Assigned To | admin | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 2.23.1 | ||||
Summary | 0000757: User Submitted Report | ||||
Description | Email from: Bugtracker Heureka <bugtracker.heureka@slu.se> Originally sent by: Benjamin Forsmark<benjamin.forsmar@sodra.com> Error during import of stand register created from automatisk skogsöversikt based on remote sensing data. --- Exception --- System.InvalidOperationException: The given value of type String from the data source cannot be converted to type nvarchar of the specified target column. --- Stack Trace --- at Slu.Heureka.DomainLayer.TreeListSimulation.TreeSimulatorForStandRegister.Simulate(Int32 standRegisterId, String areaDescription, Double plotArea, Int32 numberOfPlots, Int32 maxNbTypeTrees, Double corrFactorWeight, String& infoMessage, Boolean ignoreImportedHeightsForYoungStands) at Slu.Heureka.DomainLayer.Import.StandRegister.UI.SimulateTreeDialog._okButton_Click(Object sender, EventArgs e) | ||||
Tags | No tags attached. | ||||
Product | General | ||||
|
This error is caused by invalid string length and the only string input is the areaDescription. More detailed error messages when attempting to use invalid names have already been implemented, the user now receives an error like: Inner Exception: Cannot set column 'Description'. The value violates the MaxLength limit of this column. |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-02-27 18:30 | admin | New Issue | |
2025-05-02 09:57 | osskyn | Assigned To | => osskyn |
2025-05-02 09:57 | osskyn | Status | new => assigned |
2025-05-02 09:57 | osskyn | Assigned To | osskyn => admin |
2025-05-02 09:59 | osskyn | Status | assigned => resolved |
2025-05-02 09:59 | osskyn | Resolution | open => fixed |
2025-05-02 09:59 | osskyn | Fixed in Version | => 2.23.1 |
2025-05-02 09:59 | osskyn | Note Added: 0000644 |