Ticket #164 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Color bug in Participants.xlt

Reported by: ste Owned by: ste
Priority: major Milestone: 1.2.13
Component: Other Version: 1.2.12
Keywords: import pilots Cc:

Description (last modified by ste) (diff)

Values from "color" column does not appear in the fsdb. In the script the values from the color columns is put in an attribute named "color", should be put in the "glider_main_colors" attribute of the FsParticipant? element.

Change History

comment:1 Changed 8 years ago by ste

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

comment:2 Changed 8 years ago by ste

If you have an existing Excel file based on the Participants.xlt template you can fix this by pressing Alt-F11 (should bring up the script editor),

then in Module1, find Sub UpdateFsdbWithParticipants?()

Change

xe_FsParticipant.setAttribute "color", Cells(r, 7).Value

to

xe_FsParticipant.setAttribute "glider_main_colors", Cells(r, 7).Value

comment:3 Changed 8 years ago by ste

Works in FS 1.2.13.

Stein-Tore

Note: See TracTickets for help on using tickets.