Opened 5 years ago

Closed 5 years ago

#1143 closed defect (fixed)

INCA import fails if the last column is empty in one or more rows

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v4.23
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

In the report for excluded lines there is a message that some rows has too few columns.

Change History (1)

comment:1 by Nicklas Nordborg, 5 years ago

Resolution: fixed
Status: newclosed

In 5467:

Fixes #1143: INCA import fails if the last column is empty in one or more rows

Must use String.split() with second argument -1 (eg. line.split("\t", -1)), otherwise trailing empty columns are not included.

Note: See TracTickets for help on using tickets.