gtfs-editor
gtfs-editor copied to clipboard
Not able to create more stops or remove existing one in new tripPattern
My fellow at work detected one issue:
- Create new trip pattern (not from transitWand)
- Change its type to use frequency
- Create a new trip (schedule)
- 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.
I believe that line was added only to be able to insert multiple stops at once into a pattern, so I suggest doing this sync: #260