-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Labels
bugSomething isn't working (crash, a rule has a problem)Something isn't working (crash, a rule has a problem)good first issueGood task for newcomers to work on.Good task for newcomers to work on.status: Needs triageApplied to all new issuesApplied to all new issues
Description
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
| if (containsSubfolder && entryName.contains(subfolder) && entryName.endsWith(".txt")) { |
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't working (crash, a rule has a problem)Something isn't working (crash, a rule has a problem)good first issueGood task for newcomers to work on.Good task for newcomers to work on.status: Needs triageApplied to all new issuesApplied to all new issues
Type
Projects
Status
Done

