Comments (10)
I have a similar issue at one of my VAs too! When the pilot has MORE than 1 bid, SC3 fetches the aircraft information from the first bid, despite the flight in the first bid already being complete. I have temporarily curbed this by disabling pilots to have multiple bids, but that's not a permanent solution.
We're on API Version 0.3.7 (phpvms5)
from smartcars-3-phpvms5-api.
Transferred to the correct repository
from smartcars-3-phpvms5-api.
yes having exactly the same issue as mentioned by @ifly-leonard
can u guy look into this please
thank you
from smartcars-3-phpvms5-api.
Hey all (@EpicHax7 @ifly-leonard @PilotFlying99). I've update the API on the development branch to 0.3.8 which has hopefully restored this. Let me know whether this resolves it for you!
from smartcars-3-phpvms5-api.
@GenericNerd Thank you very much! We moved a step ahead.
However, there is still one issue: the aircraft which is now shown, is the scheduled aircraft, not the actual chosen aircraft inside the smartCARS 3 client.
![Bildschirmfoto 2023-10-06 um 21 49 57](https://private-user-images.githubusercontent.com/100163717/273318317-de1152aa-3f96-496a-b3e3-5e989930c847.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM1MDkxOTAsIm5iZiI6MTcyMzUwODg5MCwicGF0aCI6Ii8xMDAxNjM3MTcvMjczMzE4MzE3LWRlMTE1MmFhLTNmOTYtNDk2YS1iM2UzLTVlOTg5OTMwYzg0Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxM1QwMDI4MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03MmE4OTgwNzA1MjU2MzY2YjI0MWEyOWZkNGViNmFiODY4Mjc4YWYyNGNmMDdkMjQwOGE4ZjliMDQ5NjAwZDdjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.FV-qo4q89qpC3oukis9Dbx382FtzKec5-iS69ZmXUF8)
from smartcars-3-phpvms5-api.
The issue also consists when viewing the PIREP via the admin panel. It shows the scheduled aircraft, not the actual chosen one via the smartCARS 3 client.
![zPJnKlwD3rFodE30k-sTRe-jhuwhVQKJYA](https://private-user-images.githubusercontent.com/100163717/273319916-847911ab-f82d-41e1-9238-f3eb3e5f42d9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM1MDkxOTAsIm5iZiI6MTcyMzUwODg5MCwicGF0aCI6Ii8xMDAxNjM3MTcvMjczMzE5OTE2LTg0NzkxMWFiLWY4MmQtNDFlMS05MjM4LWYzZWIzZTVmNDJkOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxM1QwMDI4MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03NjQwMDc0ZGYyNWM1ZmRlMDA1MGIyMmU3ZDM4NzZjMjI0MDg0MzYxM2JhNDY1Nzc4MWUzZTQ0NmMzOGY3YjNkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.ARM_I0_MM8u9miDDy8Amc62IRkRf6WF0QEVTtcDBe7Q)
from smartcars-3-phpvms5-api.
Update: I fixed the issue myself.
You need to change line 32 in /0.3.8/handlers/phpvms5/flights/update.php from:
'aircraft' => $flightDetails['aircraft'],
to 'aircraft' => $_POST['aircraft'],
Additionally, you need to change line 61 in /0.3.8/handlers/phpvms5/flights/complete.php from:
'aircraft' => $route['aircraft'],
to 'aircraft' => $_POST['aircraft'],
from smartcars-3-phpvms5-api.
I’ll reopen this issue as there is a documented fix that I’ll implement in this version
from smartcars-3-phpvms5-api.
Can you all try the 0.3.9 branch and let me know if that solution works for you?
from smartcars-3-phpvms5-api.
This issue is now stale. If this is still happening, please open up a new issue and refer to this issue.
from smartcars-3-phpvms5-api.
Related Issues (20)
- [BUG] - Aircraft given as a string
- [BUG] - News Page Showing First rather than most recent HOT 1
- [BUG] - Error connecting to script URL - 301 - Redirects Are Not Allowed HOT 2
- Questions about smartCARS 3
- [FEATURE] - Make return pirepID as string for both phpvms5 & 7 HOT 1
- [BUG] - Airport validation does not allow numbers HOT 1
- [BUG] - Cancelling an ongoing flight should remove the relevant data from the smartCARS3_OngoingFlights HOT 2
- [BUG] - Cancelling a flight leaves an unfinished pirep in phpvms which breaks the logbook HOT 3
- [BUG] - Changing your pilotId removes access to pilot's data HOT 1
- [BUG] - phpVMS 7 ACARS Table is not written to in update.php HOT 1
- [BUG] - phpvms 7: Create Flight - After creating selected fleet type/sub fleet unavailable HOT 1
- [BUG] - phpvms 7 - PIREPS being submitted as manual HOT 3
- [BUG] - Flight Center - User Created Flights Do Not Append Airline Code HOT 7
- [BUG] - Flight Center - Schedule Flight Times Not Displayed Correctly HOT 2
- [BUG] - phpVMS5 cancel.php file has incorrect statement. HOT 3
- [BUG] - Aircraft data sent is wrong for PHpvms 5.7 HOT 1
- [BUG] - HOT 2
- [BUG] - Aircraft Are Not Sorting Correctly In The Aircraft Dropdown
- [Bug] smartCARS Charter Flights Delete Airlines Causing Database Corruption
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartcars-3-phpvms5-api.