[Quickfix-developers] Field validation problems
Brought to you by:
orenmnero
|
From: Andrei G. <an...@gm...> - 2007-01-16 17:20:43
|
Hi there,
I sent a message to a QuickFIX application which contained field
PartyIDSource(447) with an incorrect value: It should be a char, but
instead contained a string value. The message got through QuickFIX
validation and caused the application to crash. The following message
depicts the problem:
8=FIX.4.4|9=233|35=D|34=82|49=P-MEARECLION-KMT|52=20060830-19:06:39.468|56=FIXGatewayTI|11=8CAEF67868D248628722FCA1B4731A52|21=3|22=4|38=100|40=2|44=2700|48=BFMRB3600102|54=1|55=A18J07|60=20060830-16:06:39|453=1|448=P-MEARECLION-KMT|447=AARS|452=12|10=004|
Using QF 1.12.4 via the .NET wrapper:
if (partiesGroup.isSetPartyIDSource())
{
partyIDSource = partiesGroup.getPartyIDSource().getValue().ToString();
}
We get the following exception:
Source: quickfix_net
StackTrace: at _CxxThrowException(Void* , _s__ThrowInfo* )
at FIX.CharConvertor.convert(basic_string<char\,std::char_traits<char>\,std::allocator<char>
>* value)
at QuickFix.Group.getField(CharField field)
at QuickFix44.NewOrderSingle.NoPartyIDs.getPartyIDSource()
Am I doing something wrong?
Thanks,
Andrei Goldchleger
|