[QFJ-929] FieldException on Logon message is handled incorrectly Created: 03/Jul/17  Updated: 27/Jul/17  Resolved: 04/Jul/17

Status: Closed
Project: QuickFIX/J
Component/s: None
Affects Version/s: None
Fix Version/s: 1.6.4

Type: Bug Priority: Default
Reporter: Christoph John Assignee: Christoph John
Resolution: Fixed Votes: 0
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.


Generated at Sun May 05 15:45:21 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.