You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error message "Error fetching GTFS entities via GraphQL [...] ERROR relation .stops/routes does not exist" is shown while the /alerts page is loading. This can happen when a feed version gets deleted but for some reason not all tables in that namespace get deleted.
Expected behavior
No error message is shown while loading the /alerts page.
Steps to reproduce the problem
Open a feed source.
Possible scenarios
a. Find the lastest feed version with the published status set to "Published".
b. Import a feed version. Then in Mongo, edit the feed source (FeedSource collection) by adding a publishedVersionId field to the corresponding document, with field value equal to the namespace of the imported feed version.
Possible scenarios
a. Delete the feed version above using the UI (Delete Feed Version).
b. To simulate a partial feed version delete: Using a PostgreSQL client, delete the routes and stops tables of the namespace indicated by the publishedVersionId. Optionally, delete in Mongo that feed version from the FeedVersion collection.
Open/Refresh the /alerts page.
Observe the error message mentioned above are shown, or, if you picked scenario 3a, a GraphQL error message with "No rows found" in the details.
Any special notes on configuration used
Requires:
MTC extension with the alerts module and external feed publishing service configured,
Alerts from the RTD system
In "MTC Properties" (ExternalFeedSourceProperty collection), the AgencyId attribute and value must be set for the feed source to test.
in server.yml, change application->public_url to http://localhost:4000.
Version of datatools-server and datatools-ui if applicable (exact commit hash or branch name)
mtc-deploy branch.
The text was updated successfully, but these errors were encountered:
Observed behavior
The error message "Error fetching GTFS entities via GraphQL [...] ERROR relation .stops/routes does not exist" is shown while the
/alerts
page is loading. This can happen when a feed version gets deleted but for some reason not all tables in that namespace get deleted.Expected behavior
No error message is shown while loading the
/alerts
page.Steps to reproduce the problem
a. Find the lastest feed version with the published status set to "Published".
b. Import a feed version. Then in Mongo, edit the feed source (
FeedSource
collection) by adding apublishedVersionId
field to the corresponding document, with field value equal to the namespace of the imported feed version.a. Delete the feed version above using the UI (Delete Feed Version).
b. To simulate a partial feed version delete: Using a PostgreSQL client, delete the
routes
andstops
tables of the namespace indicated by thepublishedVersionId
. Optionally, delete in Mongo that feed version from theFeedVersion
collection./alerts
page.Any special notes on configuration used
Requires:
ExternalFeedSourceProperty
collection), theAgencyId
attribute and value must be set for the feed source to test.server.yml
, changeapplication->public_url
tohttp://localhost:4000
.Version of datatools-server and datatools-ui if applicable (exact commit hash or branch name)
mtc-deploy
branch.The text was updated successfully, but these errors were encountered: