Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.
This repository was archived by the owner on May 27, 2024. It is now read-only.

Detect when no vehicles exist but service is scheduled #390

@mcplanner-zz

Description

@mcplanner-zz

Summary:
I ran the validator on a feed that is blank by design, and no error was given.

Steps to reproduce:
Bay Area Rapid Transit (BART) prefers to not produce a vehicle position feed because they're concerned about physical security. Their regional agency (MTC) produces vehicle positions, trip updates, and alerts on behalf of all their local agencies, including BART. I plugged in the vehicle position and BART identifiers in their URL format (http://api.511.org/transit/vehiclepositions?api_key=[key]&agency=BA) and put this URL in the validator. No errors were given, which made me assume it was just a really good feed.

Expected behavior:
I expected some indication that the API wasn't returning anything at all.

Observed behavior:
The validator returned 0 errors.

Platform:
MacOS Catalina 10.15.7
Java version: 11.0.5
Chrome version 86.0.4240.80

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions