NOTE: Jira is for bug reports and feature requests.
If you are entering an issue to ask a question,
please use the QuickFIX/J support options. Thank you.

Issue Details (XML | Word | Printable)

Key: QFJ-405
Type: Bug Bug
Status: Open Open
Priority: Default Default
Assignee: Unassigned
Reporter: Rhys Yarranton
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickFIX/J

Fields missing on resends

Created: 26/Feb/09 02:30 AM   Updated: 26/Feb/09 02:30 AM
Component/s: Engine
Affects Version/s: 1.3.1
Fix Version/s: None


 Description  « Hide
In some circumstances fields may be omitted from re-sent messages.

We tracked this down to the following line in Session.parseMessage(String):
    msg.fromString(messageData, dataDictionary, false);
In our case there was a repeating group used in outbound messages only that was not present in the data dictionary. Those fields silently disappeared.

So, a workaround is to edit the data dictionary. But given the silent misbehaviour, I would rate this a bug.

Probably could fix this by creating a subclass of Message that treats the body as an immutable string --> overrides to parseBody, calculateString, calculateLength and calculateTotal. Hopefully there is a more elegant solution.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.