phpvms
phpvms copied to clipboard
Wrong airline_id: by acars, controller, resources or api
Describe the bug My VA has multiple airlines. The airline with airline_id = 1 (VCI) exists only as a pilot holder. This airline has no flights, random, assignments or something similar to bid. There are NO flights in the database with an airline_id=1.
1 out of 10/15 flights, gets assigned with airline_id = 1
Note: From "search a flight" until "file the flight", the pilot cannot change anything regarding an airline (like a select).
We did a lot of debugging including prefile event to see what could be the issue. What we know so far:
- the flight itself has the correct airline_id (17 for example)
- the bid/booking has the correct airline_id
- the created simbrief has the correct airline_id
- the request has NOT the correct airline_id ("App\Http\Requests\Acars\PrefileRequest")
You can also see in the attached JSON that we have the airline_id=1(wrong) and in "flight" the correct airline_id=17 in one array.
Version 7.0.0-dev+240703.8e2828
Additional context data.json