Coder Social home page Coder Social logo

Comments (10)

ifly-leonard avatar ifly-leonard commented on August 13, 2024 1

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)

image

from smartcars-3-phpvms5-api.

GenericNerd avatar GenericNerd commented on August 13, 2024

Transferred to the correct repository

from smartcars-3-phpvms5-api.

EpicHax7 avatar EpicHax7 commented on August 13, 2024

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.

GenericNerd avatar GenericNerd commented on August 13, 2024

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.

PilotFlying99 avatar PilotFlying99 commented on August 13, 2024

@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

from smartcars-3-phpvms5-api.

PilotFlying99 avatar PilotFlying99 commented on August 13, 2024

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

from smartcars-3-phpvms5-api.

PilotFlying99 avatar PilotFlying99 commented on August 13, 2024

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.

GenericNerd avatar GenericNerd commented on August 13, 2024

I’ll reopen this issue as there is a documented fix that I’ll implement in this version

from smartcars-3-phpvms5-api.

GenericNerd avatar GenericNerd commented on August 13, 2024

Can you all try the 0.3.9 branch and let me know if that solution works for you?

from smartcars-3-phpvms5-api.

GenericNerd avatar GenericNerd commented on August 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.