Notice invalid_input_files_in_subfolder
not triggered if zip file and subfolder have the same name
#1912
Labels
bug
Something isn't working (crash, a rule has a problem)
status: Needs triage
Applied to all new issues
Describe the bug
As the title says. Currently, the notice
invalid_input_files_in_subfolder
is not triggered when the zip file (without.zip
) and the sub folder have the same name.Possible Reason:
The condition is not satisfied here and the notice is not raised
gtfs-validator/core/src/main/java/org/mobilitydata/gtfsvalidator/input/GtfsInput.java
Line 111 in 665cbc6
Steps/Code to Reproduce
Example Case [has subfolder
piercetransit-wa-us--flex-v2
]:piercetransit-wa-us_zip.zip - Will raise the notice
piercetransit-wa-us--flex-v2.zip - Does not raise the notice
Expected Results
Actual Results
Screenshots
No response
Files used
No response
Validator version
6.0.0
Operating system
Windows
Java version
No response
Additional notes
No response
The text was updated successfully, but these errors were encountered: