jramoyo / quickfix-messenger

Front-end messaging application built on-top of the QuickFIX/J engine
BSD 3-Clause "New" or "Revised" License
45 stars 24 forks source link

ExecutionReport with properly configured additional field is erroneously rejected #18

Open ghost opened 9 years ago

ghost commented 9 years ago

It's very easy to reproduce.

  1. Edit the FIX42.xml file and add field 204 ("CustomerOrFirm") to message type 8 ("ExecutionReport"). Make required = Y so it will show up in the GUI.
  2. Configure an initiator and an acceptor to use one FIX42 session. Connect them.
  3. From the acceptor, send an ExecutionReport. Make sure to correctly populate all of the fields, including CustomerOrFirm.

The initiator will REJECT the message, and the acceptor shows this:

8=FIX.4.29=12335=334=18749=INIT52=20150423-17:28:03.93756=ACCEPT45=18858=Tag not defined for this message type371=204372=8373=210=130

My quickfix.cfg file for the initiator looks like this:

[default] FileStorePath=data/messenger/initiator FileLogPath=log/initiator ConnectionType=initiator SenderCompID=INIT TargetCompID=ACCEPT SocketConnectHost=localhost StartTime=00:00:00 EndTime=00:00:00 HeartBtInt=30 ReconnectInterval=5

[session] BeginString=FIX.4.2 SocketConnectPort=9876

quickfix.cfg for the Acceptor looks like this:

[default] FileStorePath=data/messenger/acceptor FileLogPath=log/acceptor ConnectionType=acceptor SenderCompID=ACCEPT TargetCompID=INIT SocketConnectHost=localhost StartTime=00:00:00 EndTime=00:00:00 HeartBtInt=30 ReconnectInterval=5

[session] BeginString=FIX.4.2 SocketAcceptPort=9876

I am on:

java -version java version "1.7.0_65" OpenJDK Runtime Environment (fedora-2.5.2.5.fc20-x86_64 u65-b17) OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11886999-executionreport-with-properly-configured-additional-field-is-erroneously-rejected?utm_campaign=plugin&utm_content=tracker%2F704082&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F704082&utm_medium=issues&utm_source=github).