Details
Description
1) repro steps:
===========
send any message with valid repeating group fields except in the count, set the value to zero.
2) bad behavior:
============
No error is thrown. the repeating group is not ignored and is parsed anyway even though the group count is zero. Note: i don't think fix protocol states how to handle this case but i would assume this is an error.
3) expected behavior:
================
normally, if the count value doesn't match the actual number of "repeating group" you get this error: "Incorrect NumInGroup count for repeating group"
===========
send any message with valid repeating group fields except in the count, set the value to zero.
2) bad behavior:
============
No error is thrown. the repeating group is not ignored and is parsed anyway even though the group count is zero. Note: i don't think fix protocol states how to handle this case but i would assume this is an error.
3) expected behavior:
================
normally, if the count value doesn't match the actual number of "repeating group" you get this error: "Incorrect NumInGroup count for repeating group"
forgot to put the code that ignores zero in FieldMap.java ...
protected void setGroupCount(int countTag, int groupSize) {
if (groupSize == 0) { return; }
...
...
}