Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group field whose elements do not have the same fields are incorrectly parsed #623

Merged

Conversation

albertsundjaja
Copy link

@albertsundjaja albertsundjaja commented Apr 10, 2024

The edge case is described in the unit test added in this PR

When a group field contains more than one element and one of the elements has less params (because they are optional), it will be parsed incorrectly due to the change added in #368

e.g.

453=2�448=PARTYID�452=3�523=SUBID�448=PARTYID2�452=3

in the example, the last element does not have 523 defined

this means that a fix for #365 / #366 is still required

partly revert change in quickfixgo#368 due to breaking the unit test added in this PR
@albertsundjaja
Copy link
Author

#622 is the same issue as this

@dbergamin
Copy link

dbergamin commented Apr 11, 2024

Thanks @albertsundjaja, confirming that this would solve my issue

@ackleymi ackleymi merged commit e155413 into quickfixgo:main Apr 22, 2024
38 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants