
| Key: |
QFJ-405
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Default
|
| Assignee: |
Unassigned
|
| Reporter: |
Rhys Yarranton
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
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.
|
|
Description
|
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. |
Show » |
| There are no comments yet on this issue.
|
|