Routes Lower case and ICAO codes.

Please report Bugs and Problems here

Moderator: FSAirlines Staff

Locked
User avatar
joefremont
FSAirlines Developer
Posts: 3696
Joined: Tue May 16, 2006 5:46 am
Location: KSFO

Routes Lower case and ICAO codes.

Post by joefremont » Sat Aug 19, 2006 8:00 am

I entered a flight into the database but when I entered the ICAO code for the departure airport in lower case letters. I was able to book the flight and everthing looked great until I loaded up FS and tried to start the flight. The FlyNET client told me I was not at the departure airport. I had to cancel the flight, re-enter the ICAO code in upper case and re-book the flight before it let me continue.
Image
I've sworn an oath of solitude until the pestilence is purged from the lands.

User avatar
CAPFlyer
Chief Pilot
Posts: 3045
Joined: Mon Nov 07, 2005 2:49 am
Location: Lancaster, Texas, USA
Contact:

Post by CAPFlyer » Sun Aug 20, 2006 3:43 pm

Yep, all ICAO and IATA codes are always in upper case.

User avatar
joefremont
FSAirlines Developer
Posts: 3696
Joined: Tue May 16, 2006 5:46 am
Location: KSFO

Post by joefremont » Sun Aug 20, 2006 5:02 pm

The problem as I see it is that the website had no problem with the lower case code but the client did. Either the website should not allow lower case or the client should accept it. As long as they are consistent.
Image
I've sworn an oath of solitude until the pestilence is purged from the lands.

recce

Post by recce » Mon Aug 21, 2006 5:14 am

Really simple fix... but Konny has to do it... All of the site appears to be in php...

1: User enters data in either case
2: coding checks the case and if lower converts it to upper.
3: Store the UPPER CASE data.

Should add maybe 10 lines of code...

Konny
FSAirlines Developer
Posts: 1564
Joined: Sun Sep 25, 2005 10:40 am
Location: Munich, Germany
Contact:

Post by Konny » Tue Aug 22, 2006 6:38 pm

Can you tell me please which route you wanted to fly ? And was it a private flight ?
Konrad - FSAirlines Developer
Image

User avatar
joefremont
FSAirlines Developer
Posts: 3696
Joined: Tue May 16, 2006 5:46 am
Location: KSFO

Post by joefremont » Tue Aug 22, 2006 7:11 pm

It was a regular flight from EGCC to CYYR that I entered the departure airport as egcc, After it told me I was not at the departure airport I canceled the flight, changed the route departure to EGCC and then rebooked and completed it. Since I was delivering an aircraft I already deleted it.
Image
I've sworn an oath of solitude until the pestilence is purged from the lands.

Konny
FSAirlines Developer
Posts: 1564
Joined: Sun Sep 25, 2005 10:40 am
Location: Munich, Germany
Contact:

Post by Konny » Tue Aug 22, 2006 7:23 pm

Hm, I don't think it was because you didn't write the airport code in capital letters. It must have been something else.
Konrad - FSAirlines Developer
Image

Locked