Skip to content

Not able to create more stops or remove existing one in new tripPattern #259

@j05u3

Description

@j05u3

My fellow at work detected one issue:

  1. Create new trip pattern (not from transitWand)
  2. Change its type to use frequency
  3. Create a new trip (schedule)
  4. Add 1 stopTime to the pattern

The next stop can't be added. (although UI shows as added, but badRequest is happening)
The current stop can't be removed.

Digging into the code I came across with a line that mentioned #174

It happens that it was creating an inconsistent state in the database in which the first stop wasn't being added to the trip just created.

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