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

TAG_SPECIFIED_OUT_OF_REQUIRED_ORDER error while creating message from another FIX message and doValidation = false

    Details

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

      Description

      This happens because parseBody function in Message.java does'nt take doValidation as an argument. The fix for this:
      1. Change line 533 in Message.java to
      private void parseBody(DataDictionary dd) throws InvalidMessage
      2. Add check at line 541:
      if(doValidation){
      if (isHeaderField(field.getField()))

      { // An acceptance test requires the sequence number to // be available even if the related field is out of order setField(header, field); throw new FieldException(SessionRejectReason.TAG_SPECIFIED_OUT_OF_REQUIRED_ORDER, field.getTag()); }

      }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sjain@tradehelm.com Subodh Jain
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: