[QFJ-752] Instrument component dont show the instrumentParties repeating group Created: 30/Jul/13 Updated: 12/Mar/20 |
|
Status: | Open |
Project: | QuickFIX/J |
Component/s: | Engine, Message Generation |
Affects Version/s: | 1.5.3 |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Christian Avalos | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 0 |
Labels: | QuickfixJ |
Description |
the noInstrumentParties(1018) component is in the componentFields int array, and not in componentGroup, so, when it added a instrumentParties ,the generated message has the field 1018, but not the other possibles fields of instrumentParties (1019, 1050, 1051, 1052) |
Comments |
Comment by Christian Avalos [ 30/Jul/13 ] |
this issue is fixed adding the noIntrumentParties fields into componentGroups attribute (and removing from componentFields int[] ) public class Instrument extends quickfix.MessageComponent { ; ; public Instrument() { super(); }...... |
Comment by Jörg Thönnes [ 31/Jul/13 ] |
This message and field classes are generated automatically from the data dictionary so this is most probably a code generation issue. |
Comment by Christoph John [ 31/Jul/13 ] |
... or in the data dictionary. |
Comment by Marcin L [ 12/Mar/20 ] |
I was wondering if this is really a bug. Clearly the definition in FIX5* looks like this <component name="Instrument"> <component name="InstrumentParties"> <component name="InstrumentPtysSubGrp"> Component classes have their own dedicated classes generated so to access the group we need to go via component abstraction. public class Instrument extends quickfix.MessageComponent { ; public class InstrumentParties extends quickfix.MessageComponent { ; public class InstrumentPtysSubGrp extends quickfix.MessageComponent { ; This is not a single case. This is basically a case for every component containing another component with a repeating group e.g. in FIX44 UnderlyingInstrument -> UnderlyingStipulations What kind of errors currently generated classes could produce with this behaviour? |