View Issue Details

IDProjectCategoryView StatusLast Update
0000355HeurekaData importpublic2020-09-01 15:50
ReporterPeder Assigned ToLinus  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionreopened 
Product Version2.16.0 
Target Version2.16.1Fixed in Version2.16.1 
Summary0000355: Insufficient error message when importing stand register file
DescriptionError message does not help the user to identify the problem:

Indatasträngen hade ett felaktigt format.
 - at line 2
 - at line 3
 - at line 4

The problem in this case is the comment-kolumn (at the end of the file). The user should be informed what is the problem.
Steps To ReproduceImport attached stand register file.
TagsNo tags attached.
Attached Files
Heureka 20200616_d_stickprov_test.csv (1,390 bytes)   
AreaLevel2;AreaLevel3;StandId;ParentStandId;Layer;Register;Altitude;Latitude;CoordEast;CoordNorth;RoadId1;RoadId2;SKSManagementClass;MaturityClass;BlueTargetClass;SiteIndexSpecies;SIS;SIH;SI_Management;SoilMoistureCode;VegetationType;BottomLayer;SoilDepth;SoilWater;Texture;SlopeDirectionNorthEast;Ditch;Peat;SoilBearingCapacity;Surface;SlopeType;TerrRoadSlope;Date;EvenAgedCode;DGV;DG;Hgv;MeanAge;N;G;V;CAI;PropPine;PropSpruce;PropBirch;PropAspen;PropOak;PropBeech;PropSouthernBroadleaf;PropContorta;PropOtherBroadleaf;PropLarch;DiameterType;DGPine;DGSpruce;DGBirch;DGAspen;DGOak;DGBeech;DGSouthernBroadleaf;DGContorta;DGOtherBroadleaf;DGLarch;HPine;HSpruce;HBirch;HAspen;HOak;HBeech;HSouthernBroadleaf;HContorta;HOtherBroadleaf;HLarch;SpeciesUser;ProportionSpeciesUser;MeanDiameterSpeciesUser;MeanHeightSpeciesUser;UserDefined1;UserDefined2;UserDefined6;comment;prodarea
23;232;65E8f3572;;1;;129;59.4;457277;6583500;;;PG;;;2;32;;;2;7;;;1;3;0;;;3;2;2;;2019-12-10;;0;;0;0;0;0;0;0;;;;;;;0;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;4;3;0;övriga;55.36508528
26;262;66E7j0215;;1;;229;60.2;491503;6670251;;;PG;;;1;20;;;4;5;;;1;1;0;;;4;1;1;;2019-08-21;;0;;0;0;0;0;0;0;;;;;;;0;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;4;3;0;övriga;35.38436106
26;262;66F6a3500;;1;;269;60.1;500031;6663532;;;PG;;;1;26;;;2;13;;;;1;0;;;2;2;2;;2018-06-27;;0;;0;0;0;0;0;0;;;;;;;0;;0;;;;;;;;;;;;;;;;;;;;;;;;;;;4;3;0;övriga;35.38436106
ProductGeneral

Activities

Linus

2020-08-18 14:43

administrator   ~0000348

All columns are now parsed individually and errors will be reported on column basis, so the user knows exactly what columns had errors

Peder

2020-08-21 09:49

administrator   ~0000351

Nu får man veta vilken kolumn det är, vilket är bra. Men problemet i detta fall är kolumnen Comment som är av text-typ, och den ska inte lagras i en av de (numeriska) UserDefined-kolumnerna, utan i den Comment-kolumn som finns.
Indatasträngen hade ett felaktigt format.
 - at line 2, column UserDefinedVariable3
 - at line 3, column UserDefinedVariable3
 - at line 4, column UserDefinedVariable3

Linus

2020-08-25 09:17

administrator   ~0000353

Kolumnen kallas för "Note" i beståndsregisterfilen. Nya giltiga namn är även "Comment" eller "Kommentar".

Issue History

Date Modified Username Field Change
2020-07-27 10:23 Peder New Issue
2020-07-27 10:23 Peder File Added: Heureka 20200616_d_stickprov_test.csv
2020-07-27 10:28 Peder Description Updated
2020-08-18 09:15 Linus Assigned To => Linus
2020-08-18 09:15 Linus Status new => assigned
2020-08-18 14:43 Linus Status assigned => resolved
2020-08-18 14:43 Linus Resolution open => fixed
2020-08-18 14:43 Linus Fixed in Version => 2.16.1
2020-08-18 14:43 Linus Note Added: 0000348
2020-08-18 14:44 Linus Target Version => 2.16.1
2020-08-21 09:49 Peder Status resolved => feedback
2020-08-21 09:49 Peder Resolution fixed => reopened
2020-08-21 09:49 Peder Note Added: 0000351
2020-08-25 09:17 Linus Note Added: 0000353
2020-09-01 15:50 Linus Status feedback => closed