IDEMPIERE-3508 2pack: suport export from normal string column to text long string column / fix R_MailText.MailText imported as 1.dat|string

This commit is contained in:
Carlos Ruiz 2018-11-13 17:21:51 -02:00
parent 7eb18d483e
commit 19fed8e7fd
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ public class PoFiller{
} else if (info.getColumnClass(index) == Timestamp.class) { } else if (info.getColumnClass(index) == Timestamp.class) {
setTimestamp(qName); setTimestamp(qName);
}else if(DisplayType.TextLong == info.getColumnDisplayType(index)) {// export column from system have type is normal string, but import to system have this column but type is textlong (mean blob) }else if(DisplayType.TextLong == info.getColumnDisplayType(index)) {// export column from system have type is normal string, but import to system have this column but type is textlong (mean blob)
if (getStringValue (qName) != null || !isBlobOnPackinFile(qName)) { if (getStringValue (qName) != null && !isBlobOnPackinFile(qName)) {
setString(qName); setString(qName);
}else { }else {
setBlob(qName); setBlob(qName);