gtfs-lib icon indicating copy to clipboard operation
gtfs-lib copied to clipboard

Prohibit writing invalid short_values to GTFS db with JdbcTableWriter

Open landonreed opened this issue 4 years ago • 0 comments

Some recent test code written by @binh-dam-ibigroup in #312 revealed that any value can be written to a GTFS record using JdbcTableWriter: https://github.com/conveyal/gtfs-lib/blob/a45e6f93239fc66548903fa39abb26ffe35a8915/src/test/java/com/conveyal/gtfs/loader/JDBCTableWriterTest.java#L495-L499

This should be prohibited and the tests updated.

landonreed avatar Aug 16 '21 17:08 landonreed