bytemessage 일때, mapping 버그 fix
bytemessage는 각 item항목 초기값 null이 아님, byte[0]임.
This commit is contained in:
@@ -425,9 +425,16 @@ public class Transformer {
|
||||
errors.add(targetMessage.toString());
|
||||
return;
|
||||
}
|
||||
String type = targetMessage.getLayout().getLayoutType().getName();
|
||||
|
||||
|
||||
if ( resultItem.getValue() != null ) {
|
||||
if ( !( resultItem.getValue() instanceof byte[] && ((byte[])resultItem.getValue()).length == 0 ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Grid to Group 맵핑 Grid기준 첫번째 항목만 맵핑되도록 원래는 Grid가 count수만큼 반복부 돌며, 덮어씌기가 되어 마지막 항목의 값이 맵핑됨.
|
||||
if ( resultItem.getValue() != null ) return;
|
||||
/**
|
||||
*
|
||||
* 1. field|attribute : transform 을 바로 진행한다. (transformEach)
|
||||
|
||||
Reference in New Issue
Block a user