The code in my project:
Parties parties = order.getParties();
the order has the right value of Parties,but the variable "parties" is empty when it gets value by invoking order.getParties().
I trace into the code of QFJ,I found this method maybe something wrong:
The red color code maybe:fileds.isSetField(groupFields[i]))
Is it?
//MessageComponent
public void copyFrom(FieldMap fields) {
try {
int[] componentFields = getFields();
for (int i = 0; i < componentFields.length; i++) {
if (fields.isSetField(componentFields[i])) {
setField(componentFields[i],
fields.getField(componentFields[i]));
}
}
int[] groupFields = getGroupFields();
for (int i = 0; i < groupFields.length; i++) {
if (
isSetField(groupFields[i])) {
setGroups(groupFields[i], fields.getGroups(groupFields[i]));
}
}
} catch (FieldNotFound e) {
// should not happen
}
}
--
Lin Lejiang