[QFJ-17] Improve reporting of invalid repeating groups Created: 26/May/06 Updated: 12/Apr/07 Resolved: 26/May/06 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | None |
Affects Version/s: | 1.0.0 Final |
Fix Version/s: | 1.1.0 |
Type: | Improvement | Priority: | Major |
Reporter: | Steve Bate | Assignee: | Steve Bate |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Attachments: | rg.patch |
Description |
Steve, I ran into a problem with repeating groups that I think this patch would help. A counterparty was sending a message containing a repeating group that was out of order (the first field was actually second) and QF/J threw an NPE in parseGroup() when it tried to add the first field it found to the not-yet-constructed group. This patch changes parseGroup() to throw InvalidMessage when the first field found is out of order, and John Hensley |
Comments |
Comment by Steve Bate [ 26/May/06 ] |
Patch from John. |
Comment by Steve Bate [ 26/May/06 ] |
Patch applied. Thanks John. |