Ticket #224 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Participant detail problem when nation=Denmark

Reported by: SCDBob Owned by: ste
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

comment:1 Changed 6 years ago by ste

  • Status changed from new to assigned

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.

comment:2 Changed 6 years ago by ste

  • Milestone changed from 1.3 to 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 6 years ago by ste

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.