datatools-ui icon indicating copy to clipboard operation
datatools-ui copied to clipboard

Clicking Routes tab in FeedVersion Summary causes error if no routes present in GTFS

Open landonreed opened this issue 5 years ago • 0 comments

Observed behavior (please include a screenshot if possible)

  1. Upload GTFS file that has no routes.txt file (e.g., this one).
  2. Click Routes tab
  3. Error encountered (see screenshot)

image

Expected behavior

No error. GraphQL request should either not be fired off if route count is zero. Or gtfs-lib should handle missing table gracefully.

Steps to reproduce the problem

See above.

Any special notes on configuration used

N/A

Version of datatools-ui and datatools-server if applicable (exact commit hash or branch name)

latest dev

landonreed avatar Jul 09 '20 15:07 landonreed