Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor (flex branch) attempts to fetch flex-only tables for non-flex feeds #466

Open
binh-dam-ibigroup opened this issue May 16, 2022 · 0 comments

Comments

@binh-dam-ibigroup
Copy link
Contributor

Observed behavior

This error message is shown when opening an editor initialized by a non-flex branch using the editor from the flex branch,
and editing features are greyed out (disabled).

Error fetching GTFS entities via GraphQL

- Exception while fetching data (/feed/booking_rules) : org.postgresql.util.PSQLException: ERROR: relation "dbxp_rktgmydoiwrwvebtjtbprv.booking_rules" does not exist
  Position: 15 ({"line":18,"column":11})
- Exception while fetching data (/feed/locations) : org.postgresql.util.PSQLException: ERROR: relation "dbxp_rktgmydoiwrwvebtjtbprv.locations" does not exist
  Position: 15 ({"line":52,"column":11})

Expected behavior

No error message should be shown, and editing features should be enabled.

Steps to reproduce the problem (locally)

  1. Checkout a non-flex branch and start datatools
  2. Create a non-flex feed, and import a non-flex feed
  3. Start editing the imported feed.
  4. Stop datatools. Checkout a flex branch and start datatools again.
  5. Start editing the feed above.
  6. Observe the error message shown above.

Any special notes on configuration used

NA

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

Datatools server dev vs. branch with #439.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant