We're updating the issue view to help you get more done. 

FIX8 did not recognized AccountType (581) even FIX8 got the field in PositionReport message

Description

In FIX8 1.2.0, it sent the reject message to ask the missing mandatory field: Account Type (581).
However, just before that, FIX8 got the field (581) already.

This behavior was always occurred in PositionReport (MsgType=AP).

In the below log, the strange part was found in (4), (5) step.

1) sent by NewOrderSingle

0000006 D out 8=FIX.4.4^A9=166^A35=D^A49=1004444^A56=FIXORDER^A34=6^A52=20140904-17:09:37.510^A11=em20140904170937498034^A1=1004444^A21=1^A55=EURUSD^A460=4^A54=2^A60=20140904-17:09:37.510^A38=1000.00^A40=1^A59=3^A10=241^A

2) Replied with NEW(0)
0000006 B in 8=FIX.4.4^A9=177^A35=8^A34=6^A49=FIXORDER^A52=20140904-17:09:36.673^A56=1004444^A6=0^A11=em20140904170937498034^A14=0^A17=0^A37=0^A38=1000^A39=0^A40=1^A54=2^A55=EURUSD^A59=1^A60=20140904-17:09:36^A150=0^A151=1000^A10=134^A

3) Replied with filled (2)
0000007 B in 8=FIX.4.4^A9=197^A35=8^A34=7^A49=FIXORDER^A52=20140904-17:09:37.208^A56=1004444^A6=1.29424^A11=em20140904170937498034^A12=0^A14=1000^A17=0^A31=1.29424^A32=1000^A37=0^A38=1000^A39=2^A54=2^A55=EURUSD^A60=20140904-17:09:37^A150=F^A151=0^A10=092^A

4) Replied by "PositionReport (MsgType=AP)" with 581 field
0000008 B in 8=FIX.4.4^A9=222^A35=AP^A34=8^A49=FIXORDER^A52=20140904-17:09:37.213^A56=1004444^A1=1.293821004444^A12=0^A55=EURUSD^A231=100000^A453=0^A581=1^A702=1^A705=-0.03^A715=20140904-17:09:37^A721=20140904-17:09:37^A727=1^A728=0^A730=1.29382^A731=1^A734=1.29382^A753=0^A10=225^A

5) However, FIX8 did not recognize the 581 field even it got on the step 4 already.
0000007 B out 8=FIX.4.4^A9=109^A35=3^A49=1004444^A56=FIXORDER^A34=7^A52=20140904-17:09:38.121^A45=8^A58=Missing Mandatory Field: AccountType (581)^A10=230^A

Environment

CentOS 6.4, 64bit, GCC compile

Status

Assignee

David Dight

Reporter

Bongsu Kim

Labels

None

Branch

master

Products

None

Components

Fix versions

Affects versions

1.2.0

Priority

Critical