[QFJ-390] BeginString checking in case of FIX 5.0 (FIXT 1.1) Created: 07/Jan/09  Updated: 15/Nov/12  Resolved: 05/Apr/10

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

Type: Bug Priority: Default
Reporter: Baxter Solutions Assignee: Unassigned
Resolution: Not a bug Votes: 0
Labels: None


 Description   

If Logon message is sent with FIXT 1.1 BeginString then application message (with FIX 5.0 BeginString) will be dropped and the server will send Logout to the client (because incorrect BeginString).

Possible solution:
Add "!sessionID.isFIXT()" condition to Session.java, near line 749 of svn rev. 899.

public void next(Message message) throws FieldNotFound, RejectLogon, IncorrectDataFormat,
IncorrectTagValue, UnsupportedMessageType, IOException, InvalidMessage {
...
if (!sessionID.isFIXT() && !beginString.equals(sessionID.getBeginString()))

{ throw new UnsupportedVersion(); }

...
}



 Comments   
Comment by Steve Bate [ 05/Apr/10 ]

FIX.5.0 is not a valid begin string.

Generated at Tue Jul 01 07:30:51 UTC 2025 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.