-
Notifications
You must be signed in to change notification settings - Fork 115
Description
Describe the bug
I'm not sure if this is a bug or just a missing validation rule. No validation error results from either field_name referencing a value that doesn't exist or field_value referencing a value that doesn't exist.
Example
routes.txt
...,route_short_name,...
...,45,...
translations.txt
...,field_value,...
...,4r,...
^ Validator does not detect that "4r" is not present under routes.route_short_name.
or
...,field_name,...
...,rt_shortname,...
^ Validator does not detect that rt_shortname is not present in routes.txt.
or
...,field_name,...,field_value,
...,route_long_name,...,45,
^ Validator does not detect that 45 is not under ,route_long_name,.
Steps/Code to Reproduce
- Use the above dataset.
- Notice errors in the first two records of translations.txt (route_short_name instead of route_long_name for the first record, incorrect
field_valuefor the second record). - Run the dataset on GTFS Validator.
- Notice no error message about the two errors.
Expected Results
The Validator should detect these errors and produce an error message for each.
Actual Results
No detection, no error message for either.
Screenshots
No response
Files used
No response
Validator version
4.0.0
Operating system
MacOS
Java version
No response
Additional notes
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status