You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DataDictionary necessary for parsing repeating groups... #276
For the most part, generated messages and fields suffice for sending and receiving FIX messages with repeating groups. However... it is not possible for session code unaware of the message structure to parse a FIX message with repeating groups, and send that message on a FIX session.
This very scenario plays out with resends. The sender sends a flattened FIX message, the bytes of that FIX message are persisted in the store. On a resend request, the session code must parse these bytes, allow ToApp/ToAdmin to modify the the message, and resend to the target. The current code does not use a data dictionary on parse. As a result, the resent message does not resemble original message with repeating groups.
Note that all the other quickfix impls also require a datadictionary for parsing repeating groups, though this will incur latency hits.
We're using this patch for resends specifically, which seems to work OK. Obviously a hack, esp since it will end up ignoring anything that ToApp does to the body, but ... better than broken messages. (And I don't think it's particularly common to change the body for resends.)
Thanks @imirkin but I'm hoping we get a more complete fix in shortly, I'm aware of some work being done on this now. Not sure on the ETA though, your snippet here might be useful to others in the interim.
I'm working up a fix master...ackleymi:master that uses a datadictionary to aid in parsing repeating groups. It's still a WIP with a few concerns to iron out, but might serve as a step in the right direction.
Hi all, is there any update on this issue? We just debugged the same issue where a resend request resulted in malformed response due to missing repeating groups. The message is subsequently rejected.
@cbusbey It's now been ~1.5 years since I posted the hack-fix. It's a hack, but an effective one. Nothing better has materialized since then. Making resends work seems like an important use-case. Let's not let perfect be the enemy of good?
Reacted by Tiago Martins de Alexandre and avislash
@steelkorbin correct, and happy to build on top of chris' work. @imirkin I can work this week to get the hack merged in the meantime, and I've recently resumed some work on a more comprehensive fix based on Qfix-J's approach.
Anyone working in this issue right now? This topic seems old and this is a must-have... If it is not being handled I guess I'll give it a try... is there any started work on this ?
@imirkin did you create a branch with your change?
No ... I thought @ackleymi said he'd do it properly... If someone says they'll apply it, then I can get a PR created with this hacky change, otherwise it's just busy-work. Note the hack change does nothing to address the original parsing issue, it only makes resends work.
Hey @ackleymi I see you are assigned this issue. Do you have any updates on the status? We have also run into this problem and are trying to determine best path forward.
Activity
imirkin commentedon Nov 6, 2019
We're using this patch for resends specifically, which seems to work OK. Obviously a hack, esp since it will end up ignoring anything that ToApp does to the body, but ... better than broken messages. (And I don't think it's particularly common to change the body for resends.)
imirkin commentedon Nov 12, 2019
@cbusbey would it be worthwhile to get the above into the quickfixgo codebase, or should we keep it in our vendor tree?
cbusbey commentedon Nov 23, 2019
Thanks @imirkin but I'm hoping we get a more complete fix in shortly, I'm aware of some work being done on this now. Not sure on the ETA though, your snippet here might be useful to others in the interim.
ackleymi commentedon Dec 11, 2019
I'm working up a fix master...ackleymi:master that uses a datadictionary to aid in parsing repeating groups. It's still a WIP with a few concerns to iron out, but might serve as a step in the right direction.
adampinky85 commentedon Nov 11, 2020
Hi all, is there any update on this issue? We just debugged the same issue where a resend request resulted in malformed response due to missing repeating groups. The message is subsequently rejected.
imirkin commentedon May 7, 2021
@cbusbey It's now been ~1.5 years since I posted the hack-fix. It's a hack, but an effective one. Nothing better has materialized since then. Making resends work seems like an important use-case. Let's not let perfect be the enemy of good?
cbusbey commentedon May 7, 2021
Hi @imirkin
I've stepped away from this project, but perhaps @ackleymi can give you an update?
steelkorbin commentedon May 8, 2021
@cbusbey thank you for all that you have done over the years. @Ackleym are you going to taking the helm on this project?
ackleymi commentedon May 10, 2021
@steelkorbin correct, and happy to build on top of chris' work. @imirkin I can work this week to get the hack merged in the meantime, and I've recently resumed some work on a more comprehensive fix based on Qfix-J's approach.
ackleymi commentedon May 10, 2021
Agreed that repeating group resends is a very common must-have
totalys commentedon Jun 29, 2022
Anyone working in this issue right now? This topic seems old and this is a must-have... If it is not being handled I guess I'll give it a try... is there any started work on this ?
totalys commentedon Jun 29, 2022
or maybe just add the hack from @imirkin ... I guess it would work for me...
nbalsamo commentedon Jul 13, 2022
Hi @totalys @imirkin @ackleymi any way I can help get this through? We're running into this issue as well.
@imirkin did you create a branch with your change?
imirkin commentedon Jul 13, 2022
No ... I thought @ackleymi said he'd do it properly... If someone says they'll apply it, then I can get a PR created with this hacky change, otherwise it's just busy-work. Note the hack change does nothing to address the original parsing issue, it only makes resends work.
acronin-stash commentedon Jul 19, 2022
Hey @ackleymi I see you are assigned this issue. Do you have any updates on the status? We have also run into this problem and are trying to determine best path forward.
totalys commentedon Jul 19, 2022
@ackleymi , we need this too.
Use patch mentioned in Quickfix Issue quickfixgo#276 to correctly res…
Use patch mentioned in Quickfix Issue quickfixgo#276 to correctly res…