Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-646

MiscFeeType field is handled incorrectly

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0, 1.5.1
    • Fix Version/s: None
    • Component/s: Engine, Metadata/Specs
    • Labels:

      Description

      The "MiscFeeType" extends StringField and the constants into it are "String"s. The specification however (and the dictionary) indicates that this field is a "char".
      One of our clients sends this as a "String" (value "12"), but we reject the message because it is more than one "char" long. If he sent it as a "char", we would not reject, but it would not match the constants in the Class file.

      Workarround, either:

      • Change the dictionary to have this field be a "STRING" (used this one since our client sends it as a String).
      • Have the "MiscFeeType" class extends "CharField" and change the constants in the Class file, and embed it into your own code to replace the one from the library (haven't tested that though).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pantolomin John
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: