Page 1 of 1
Routes Lower case and ICAO codes.
Posted: Sat Aug 19, 2006 8:00 am
by joefremont
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.
Posted: Sun Aug 20, 2006 3:43 pm
by CAPFlyer
Yep, all ICAO and IATA codes are always in upper case.
Posted: Sun Aug 20, 2006 5:02 pm
by joefremont
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.
Posted: Mon Aug 21, 2006 5:14 am
by recce
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...
Posted: Tue Aug 22, 2006 6:38 pm
by Konny
Can you tell me please which route you wanted to fly ? And was it a private flight ?
Posted: Tue Aug 22, 2006 7:11 pm
by joefremont
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.
Posted: Tue Aug 22, 2006 7:23 pm
by Konny
Hm, I don't think it was because you didn't write the airport code in capital letters. It must have been something else.