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

getHeader() and getTrailer() not behaving correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Default
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Windows, JDK8

      Description

      Hi,
      Don't know if this a bug or we are not using the API correctly.
      But since 2.1.0 we observe strange behavior concering the checksum and bodylength field.

      JUnit Test:

      @Test
      public void testBodyLengthAndChecksum() throws FieldNotFound

      { TradeCaptureReport tradeCaptureReport = new TradeCaptureReport(); tradeCaptureReport.set(new Instrument(new Symbol("[N/A]"))); System.out.println(tradeCaptureReport.toString()); Header header = tradeCaptureReport.getHeader(); System.out.println(header.getString(9)); Trailer trailer = tradeCaptureReport.getTrailer(); System.out.println(trailer.getString(10)); }

      2.0.0 ====>>>

      8=FIX.4.49=1535=AE55=[N/A]10=072
      15
      072

      2.1.0 ====>>>

      8=FIX.4.49=1535=AE55=[N/A]10=072
      100
      000

      Any help would be much appreciated.

      Greetings,
      Simon.

        Attachments

          Activity

            People

            • Assignee:
              chrjohn Christoph John
              Reporter:
              zophyreus Simon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: