Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prohibit writing invalid short_values to GTFS db with JdbcTableWriter #323

Open
landonreed opened this issue Aug 16, 2021 · 0 comments
Open
Labels

Comments

@landonreed
Copy link
Contributor

landonreed commented Aug 16, 2021

Some recent test code written by @binh-dam-ibigroup in #312 revealed that any value can be written to a GTFS record using JdbcTableWriter:

pattern_stop.timepoint = 2;
pattern_stop.drop_off_type = 3;
pattern_stop.pickup_type = 4;
pattern_stop.continuous_pickup = 5;
pattern_stop.continuous_drop_off = 6;

This should be prohibited and the tests updated.

@landonreed landonreed changed the title Prohibit writing invalid short_values to GTFS db with JdbcTableUpdater Prohibit writing invalid short_values to GTFS db with JdbcTableWriter Aug 16, 2021
@landonreed landonreed added the bug label Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant