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

Some can register two trips at the same time, while others cannot #328

Open
essoen opened this issue Jul 10, 2017 · 2 comments
Open

Some can register two trips at the same time, while others cannot #328

essoen opened this issue Jul 10, 2017 · 2 comments

Comments

@essoen
Copy link
Member

essoen commented Jul 10, 2017

  • I Januar skulle det ha blitt gjort en endring i systemet slik at frivillige ikke kunne ha flere turer registrert samtidig. Jeg ser at den funksjonen ikke fungerer. Det er noen frivillige som i nyere tid har kunnet opprette tur til to forskjellige dest. med kun en dag forskjell som ankomst. Jeg har forsøkt å legge inn to ulike turer med forskjellig tidspunkt fra min profil, men får beskjed om at det ikke går - mao er jeg litt usikker på hvorfor noen får det til og andre ikke. Kan du få ordnet slik at den funksjonen blir helt borte?
@scbasma
Copy link
Contributor

scbasma commented Jul 10, 2017

So the current trip filtering system works in a way that prevents users from having two or more trips in some states simultaneously. These states are accepted, active or pending. So a user can not have two or more trips that both are in one of these states.

An occurence of events that would lead to an user having two trips registered at the same date is that the user submits a trip for review, gets it reviewed and the trip is then put in a state that is not accepted, active or pending. Then the user is free to register a new trip in any date range as far as I can see. If someone with priviliges then alters the state of the first trip back to one of active, pending or accepted the end result is that the user has two trips with either active, pending or accepted as its state. A user could also have two trips that are set to present, within the same date range. This is not possible without some kind of error by the administrators though. Also explains why only some users have this state, and the admin is not able to reproduce it.

@essoen
Copy link
Member Author

essoen commented Oct 11, 2017

Hm, that makes sense. I'll inform them and see what they say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants