[Quickfix-developers] Test Case failed
Brought to you by:
orenmnero
From: Stancescu C. <Con...@sw...> - 2003-02-13 11:22:08
|
During an acceptance test with ttCert for Bloomberg we failed a test case specified also in the FIX Session-level Test cases h....field(tag number) ....specified more than once. where our QuickFix engine just accepted the message. My further investigation ended in the following piece of code FieldMap.h /// Set a field without type checking void setField( const FieldBase& field ) { m_fields.erase( field.getField() ); m_fields.insert( std::make_pair( field.getField(), field ) ); } called from Message::setString, which explains the behaviour. The spec expects a Reject(session-level) for this case.... Is this a bug ? Regards, Constantin This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. |