phpvms icon indicating copy to clipboard operation
phpvms copied to clipboard

Wrong airline_id: by acars, controller, resources or api

Open PaintSplasher opened this issue 7 months ago • 1 comments

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 image

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

PaintSplasher avatar Jul 21 '24 17:07 PaintSplasher