Regarding: World Hub website/DevMode/Airport/Other World Hub website
Frequency: Once/Rarely/Frequently/Consistently Consistently
For website bugs, please include device, browser, and browser version if possible: Brave version 1.66.110 Chromium: 125.0.6422.60 (Official Build) (64-bit)
Bug description:
If you go to the Wanted airports page right now, you’ll see airport 00ID (Note: That’s two numbers followed by two letters), Delta Shores airport in Clark Fork.
I could be wrong, but I believe that the city information is being pulled from the same origin that the *.locPak files get generated from. If you look at the file fs-base-genericairports\en-US.locPak, you will see the following entry:
"AIRPORT0D.00ID.city": "Clark Fork",
"AIRPORT0D.00ID.name": "Delta Shores",
You can see that “Shores” is capitalized here, but it is lowercase in the Wanted airports tab.
It’s not just this one airport. It’s any airport, as far as I can tell, with more than one word in its city name. I have given several more examples in the Attachments section. The only reason I’m using “00ID” is because it’s the only airport with this issue that appears in the Wanted airports tab.
Please note: If this gets fixed by removing the automatic capitalization, note that there are sentinel values in the airport data, like “NO CITY” and “NO STATE”. For example:
"AIRPORTSZ.ULAM.city": "NO CITY",
"AIRPORTSZ.ULAM.name": "Naryan-Mar",
"AIRPORTSZ.ULAM.state": "NO STATE",
You may want to handle those cases separately.
Repro steps:
Method 1:
- From the World Hub home page, click the “Wanted airports” tab.
- Look at 00ID. It’s the third result from the bottom.
Method 2:
- Search for airport 00ID. Due to the number of ambiguous characters in the name, here’s the URL for the search results for 00ID.
- Look at the search result for 00ID.
Expected result:
The search result says, “Clark Fork”
Observed result:
The search result says, “Clark fork”
Attachments:
"AIRPORT0D.00ID.city": "Clark Fork",
“AIRPORT0D.00ID.city”: “Clark Fork”,
"AIRPORTEK.KJFK.city": "New York",
"AIRPORTSZ.SBGL.city": "Rio De Janeiro",
"AIRPORTLR.MMRC.city": "La Palmita y Anexos (La Presita)",