Opened 10 years ago
Closed 10 years ago
#224 closed defect (fixed)
Participant detail problem when nation=Denmark
Reported by: | Roberto Adinolfi | Owned by: | Stein Tore Erdal |
---|---|---|---|
Priority: | minor | Milestone: | 1.2.14 |
Component: | FsComp | Version: | 1.2.13 |
Keywords: | Cc: |
Description
I create a new pilot with nation=Denmark and then click "ok" button: pilot is inserted in participant list. When double click on that pilot nation field is blanked and if I press ok nation is deleted from that pilot.
It seems there is a problem when nation is Denmark.
Change History (3)
comment:1 Changed 10 years ago by
Status: | new → assigned |
---|
comment:2 Changed 10 years ago by
Milestone: | 1.3 → 1.2.14 |
---|
Background:
The fsdb file has FsParticipant?.nat_code_3166_a3 which (obviously) should have the ISO 3166 3 letter country code.
The Nation list one get in the Participant dlg in FS will list IOC nations with IOC 3 letter nation code.
For most nations IOC 3 letter nation code is the same as ISO 3166 3 letter country code. Denmark and a handfull other nations are exceptions.
This created a bit of spagetti and some unsuccessfull hacks.
Will fix in FS 1.2.14.
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
A bug.
This has to do with FAI using different three-letter codes for nations than the ISO 3166 standard. For Denmark FAI uses DEN, ISO 3166 uses DNK.