w7sst / MorseRunner

Morse Runner Community Edition
Mozilla Public License 2.0
61 stars 12 forks source link

Allow Cut numbers in user's Sent Exchange field #103

Closed scotthibbs closed 6 months ago

scotthibbs commented 1 year ago

Description

Allow Cut Number -- Letter abbreviations for Morse numerals, such as N for 9 A for 1, T for zero, and so forth. For this bug testing the user usually uses an "N" instead of "9" in his part of the exchange in contests.

Steps To Reproduce

  1. Type "JAY 323N" in the Exchange field.
  2. Receive error: "Invalid exchange: 'JAY 323N' - expecting ' ' (e.g. David 123)."

Expected behavior

This is what Jay actually uses for the CWOPS CWT contest. We should emulate real life exchanges.

Actual Behavior

User is unable to contest the way he normally does.

Version information

Can you help?

Please let us know if you are available to help. (replace '[ ]' with '[x]' to affirm)

w7sst commented 1 year ago

Sounds good to me. When this is worked on, we will have to convert the Exchange field 2 storage type from numeric to string. This may involve a little refactoring or redesign or rework for the Exch2 field handling with the CWT Contest.

scotthibbs commented 1 year ago

Interesting note for the one who decides to code this: In testing a pre-release for 1.82, "JAY 323N" gives the error as reported above. However, if this is ignored to run the CWT contest, the program will substitute the cut number (T or N was tested) for the number 4 instead.

w7sst commented 7 months ago

Hi @scotthibbs , I looks like this is now fixed. Can you retest this and let me know what you think. It appears to be fixed - not sure when.

Path to 1.84-pr1.

Thanks, Mike

scotthibbs commented 6 months ago

I tested the CWT contest with the exchange "JAY 323N" and it worked smoothly on the 1.84rc1 release. This is fixed and now closing.