gtfs-editor icon indicating copy to clipboard operation
gtfs-editor copied to clipboard

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

Open j05u3 opened this issue 8 years ago • 1 comments

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.

j05u3 avatar Jan 21 '17 04:01 j05u3

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

j05u3 avatar Jan 21 '17 04:01 j05u3