The new copyFieldsFrom() method had problems with fields that had CustomField encoders. A getter has been added to IsoValue for the CustomField and it's used in the copyFieldsFrom() method.
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@58 db60a039-f72e-0410-b1d2-baa000846441
This commit is contained in:
@@ -355,7 +355,7 @@ public class IsoMessage {
|
||||
for (int i : idx) {
|
||||
IsoValue<?> v = src.getField(i);
|
||||
if (v != null) {
|
||||
setValue(i, v.getValue(), v.getType(), v.getLength());
|
||||
setValue(i, v.getValue(), v.getEncoder(), v.getType(), v.getLength());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user