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

DataDictionary doesn't preserve the "required" attribute of header/trailer fields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 1.0.5
    • Fix Version/s: 1.1.0
    • Component/s: Engine
    • Labels:
      None

      Description

      DataDictionary.load() method currently hardcodes all the header/trailer fields to be "not required".
      As a result, even validating a message without a BeginString or SenderCompID passes, even though those fields are obviously required in the FIX dictionary file.

      Source example:
      String required = "false";
      addHeaderField(lookupXMLFieldNumber(document, name), required.equals("true"));

      Need to behave the same as with regular fields.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                toli Toli Kuznets
                Reporter:
                toli Toli Kuznets
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: