[Quickfix-developers] CharConvertor::convert( char value ) bug
Brought to you by:
orenmnero
|
From: Alexey Z. <ale...@in...> - 2005-07-05 18:45:14
|
Guys,
I don't want to annoy you, but I think the following bug must be fixed.
I reported about it early and I thought it would be a part of this release.
I think quickfix must be more stable for this cases. At least throw
something like InvalidFieldValue...
Here is the example:
char its_just_a_bug_or_wrong_input =
'\0';
// oops!
FIX::OrdStatus OrdStatus = its_just_a_bug_or_wrong_input;
FIX::Message message;
message.setField(OrdStatus);
message.setField(FIX::TransactTime());
// now we send the message:
std::string str;
message.toString(str); // result: "9=26|39="
--
Regards,
Alexey Zubko
Infinium Capital Corporation
(416) 360-7000 ext. 305
|