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

Improve reporting of invalid repeating groups

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0 Final
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      Steve,

      I ran into a problem with repeating groups that I think this patch would help. A counterparty was sending a message containing a repeating group that was out of order (the first field was actually second) and QF/J threw an NPE in parseGroup() when it tried to add the first field it found to the not-yet-constructed group. This patch changes parseGroup() to throw InvalidMessage when the first field found is out of order, and
      fromString() to rethrow that.

      John Hensley

        Attachments

          Activity

            People

            • Assignee:
              admin Steve Bate
              Reporter:
              admin Steve Bate
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: