Open essoen opened 7 years ago
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.
Hm, that makes sense. I'll inform them and see what they say.