[QFJ-646] MiscFeeType field is handled incorrectly Created: 27/Oct/11 Updated: 17/Nov/11 |
|
Status: | Open |
Project: | QuickFIX/J |
Component/s: | Engine, Metadata/Specs |
Affects Version/s: | 1.5.0, 1.5.1 |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | John | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 0 |
Labels: | QuickfixJ |
Description |
The "MiscFeeType" extends StringField and the constants into it are "String"s. The specification however (and the dictionary) indicates that this field is a "char". Workarround, either:
|
Comments |
Comment by Laurent Danesi [ 15/Nov/11 ] |
Hi John, Which FIX version are you using? In fact, in the spec, this field was ever a char and recently changed to String with FIX5.0. Now, of course, if you need to downgrade FIX5 feature code to a FIX4X session, you need a custom dictionary but it is not a bug, isnt it? Regards, Laurent |
Comment by John [ 15/Nov/11 ] |
Hi, |
Comment by Laurent Danesi [ 15/Nov/11 ] |
Hi, In fact, we generate fields for each dictionary but only once for a field (no override) and we generate FIX50 before FIX4X so MiscFeeType is a StringField. But I understand that if a client sends a String and MiscFeeType is a CharField, QFJ will reject but the current code should work as the parser will set the char as a String.anyway and we can match constants with equals method or I'm missing something perhaps? Can you provide me a simple test to well understand and fix it please? Laurent |
Comment by John [ 17/Nov/11 ] |
|