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

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

Open
j05u3 opened this issue Jan 21, 2017 · 1 comment · May be fixed by #260
Open

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

j05u3 opened this issue Jan 21, 2017 · 1 comment · May be fixed by #260

Comments

@j05u3
Copy link

j05u3 commented Jan 21, 2017

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 j05u3 linked a pull request Jan 21, 2017 that will close this issue
@j05u3
Copy link
Author

j05u3 commented Jan 21, 2017

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

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

Successfully merging a pull request may close this issue.

1 participant