Skip to content

Error saving feed info after GTFS 2.0 update #717

@binh-dam-ibigroup

Description

@binh-dam-ibigroup

Observed behavior (please include a screenshot if possible)

User is not able to ave general feed info after editing
An error message is shown on saving the changes, and the changes are not saved:

An error was encountered while trying to save to the database

The following field(s) are missing from JSON feed_info object: [default_lang]Network error (500)!

(put request on /api/editor/secure/feedinfo/2?feedId=094ae2cd-48f3-4a2e-ae68-a2dca973eb3d&sessionId=node01loyx26wrkfw39mhhvlmre1h3)```

Other fields may appear in the list such as default_lang, feed_contact_email, feed_contact_url if they are not provided.

Expected behavior

Changes should be saved and no error message should be shown.

Steps to reproduce the problem

  1. Modify general feed info (e.g. the agency name, url) in the GTFS Editor
  2. Click Save
  3. The error message above is shown.

Any special notes on configuration used

NA

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions