[eml-dev] [Bug 2775] - DataManager cuts last row off data_table

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri Feb 29 10:41:32 PST 2008


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2775


leinfelder at nceas.ucsb.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|tao at nceas.ucsb.edu          |leinfelder at nceas.ucsb.edu




------- Comment #1 from leinfelder at nceas.ucsb.edu  2008-02-29 10:41 -------
in the course of testing the datetime support for the datamanager, I came
across the code that is causing this.
the last line in the data file is terminated with EOF rather than the
recordDelimiter and so it is not being returned as a record (the record
delimiter was never found in that last line....).
i switched around the method used for reading the data characters so that it is
more natural to return the last record as a record even when there is only the
EOF terminating that record.
this is in the org.ecoinformatics.datamanager.database.DelimitedReader class


More information about the Eml-dev mailing list