Details
-
Type: Bug
-
Status: Closed
-
Priority: Default
-
Resolution: Fixed
-
Affects Version/s: 1.1.0
-
Fix Version/s: 1.2.0
-
Component/s: Message Generation
-
Labels:None
-
Environment:Windows
Description
MessageFactory returns a null from the following signature for certain groups:
public Group create(String beginString, String msgType, int correspondingFieldID);
For example,
messageFactory("FIX.4.4", MsgType.ORDER_SINGLE, NoPartyIDs.FIELD);
returns a null.
I think the problem is with the code generation of message factories. For example, the relavant code in quickfix.fix44.MessageFactory does not include a check for NoPartyIDs.FIELD, although this is a group defined for the NewOrderSingle message type.
if("D".equals(msgType)) {
switch(correspondingFieldID)
}
It is possible that this code is not generated because NoPartyIDs is part of the "Parties" component defined within the NewOrderSingle message.
Attachments
Issue Links
- is related to
-
QFJ-154 Modify MessageFactory interface to add a functionality to create a group based on an enclosing message and group type
- Closed