[QFJ-547] outOfOrderField checking by setting ValidateFieldsOutOfOrder=N doesn't work Created: 23/Jul/10  Updated: 01/Oct/17  Resolved: 01/Oct/17

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

Type: Bug Priority: Default
Reporter: Pranab Kumar Naik Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 1
Labels: None


 Description   

Even after setting ValidateFieldsOutOfOrder=N, I am still getting the Out of order repeating group members error.



 Comments   
Comment by Leon Chadwick [ 23/Nov/10 ]

I patched my source for QuickFix/J to get past this. Perhaps if this behaviour I added is correct, it should be put back into the main codebase?

In Message.parseBody(DataDictionary dd) .....

if (isHeaderField(field.getField())) {
// An acceptance test requires the sequence number to
// be available even if the related field is out of order
setField(header, field);
if ( dd.isCheckFieldsOutOfOrder() )

{ throw new FieldException(SessionRejectReason.TAG_SPECIFIED_OUT_OF_REQUIRED_ORDER, field.getTag()); }

}
else

{ setField(this, field); }
Comment by Christoph John [ 01/Oct/17 ]

Should work with recent QFJ versions.

Generated at Sat May 04 00:43:26 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.