[QFJ-66] Cannot receive incoming header DATA field Created: 06/Sep/06 Updated: 12/Apr/07 Resolved: 10/Sep/06 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.0.3 |
Fix Version/s: | 1.1.0 |
Type: | Bug | Priority: | Default |
Reporter: | André Malenfant | Assignee: | Steve Bate |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Description |
When a DATA field is received, the quickfix looks for the corresponding LENGTH field in the received fields list BUT if the LENGTH and DATA fields are part of the header, they are not found. The extractField method from the Message class should check if the LENGTH fields is a header field and search for it in the corresponding list. (Not sure what to do with the group fields though) ex: else { fieldLength = getInt(lengthField); }} else { fieldLength = group.getInt(lengthField); }} catch (FieldNotFound e1) { throw new InvalidMessage(e1.getMessage()); } |