[QFJ-240] Reject not sent with "bad tag format" (OpenFIX) Created: 19/Sep/07  Updated: 07/Aug/08  Resolved: 03/Feb/08

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.2.1
Fix Version/s: 1.3.2

Type: Bug Priority: Default
Reporter: Graham Miller Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to QFJ-239 Reject not sent when repeating group ... Closed

 Description   

This is a failing OpenFIX test. The test sends a message with an SOH character in a field specifier (see 500^A40 below). QuickFIX/J does not send a reject.

Here is what OpenFIX has to say about the test:
==========
This tests your ability to handle a field that includes an SOH character. We will send you a message with the SOH character embedded in the OrderQty value.

Expected flow:

  • Send Reject (session-level) referencing field identifier (tag number) with embedded SOH
  • Increment inbound MsgSeqNum
  • Generate an "error" condition in test output

The details of these session-level tests can be found in the FIX 4.3 Specification, Volume 2.
==========

I get this message in my QuickFIX/J log, but no reject message:

13:49:49,765 ERROR [SocketConnectorIoProcessor-0.0] mina.initiator.InitiatorIoHa
ndler (AbstractIoHandler.java:117) - Invalid message: bad tag format: For input
string: "500
40"

Here is the message they sent:

FIX.4.2:XXX->OPENFIX: 8=FIX.4.2
9=177
35=8
49=OPENFIX
56=XXX
52=20070918-20:49:50
34=113
37=1190148549048-3
11=11901485490482
20=0
55=T
54=2
38=1
500^A40=1
17=1190148549048-4
32=0
31=0
14=0
6=0
151=3000
39=0
150=0
10=157



 Comments   
Comment by Toli Kuznets [ 21/Sep/07 ]

This bug has a similar codepath as QFJ-238.
The exception is thrown "too early" - it's in AbstractIoHandler, so the message is skipped out-right but no reject message is sent back.
The fix for this wil be very similar (if not the same) as for QFJ-238.

Generated at Sun May 19 01:08:46 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.