MobilityData / gtfs-validator

Canonical GTFS Validator project for schedule (static) files.
https://gtfs-validator.mobilitydata.org/
Apache License 2.0
284 stars 100 forks source link

Count appears as 1 for block even when no blocks exist #1779

Closed emmambd closed 1 month ago

emmambd commented 3 months ago

Describe the bug

When a feed doesn't have block_id defined in stop_times.txt, it still displays as a Count of 1.

Steps/Code to Reproduce

Expected Results

0 Blocks in count

Actual Results

1 Block in count

Related to https://github.com/MobilityData/gtfs-validator/blob/edf98676b48c5e120c5518d476952c6f7eecfca5/main/src/main/java/org/mobilitydata/gtfsvalidator/report/model/FeedMetadata.java#L119

Screenshots

No response

Files used

No response

Validator version

5.1

Operating system

MacOS

Java version

No response

Additional notes

No response