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

FieldException on Logon message is handled incorrectly

    Details

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

      Description

      When there is a FieldException on a Logon message (e.g. mandatory field not set or field specified without a value) it is tried to reject the message with a session-level reject.
      This of course fails because no session is established yet:

      quickfix.SessionException: Tried to send a reject while not logged on
      

      Moreover, the session is not disconnected.

      This should be changed so that a Logout message with a descriptive error text is sent back to the counterparty and the session should be disconnected directly afterwards.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: