FINERACT-1693: Fix null handling of datatables

This commit is contained in:
Adam Saghy
2022-08-19 09:31:52 +02:00
committed by Arnold Gálovics
parent 6f86982346
commit 1cbafec07e
2 changed files with 67 additions and 45 deletions
@@ -1659,7 +1659,7 @@ public class ReadWriteNonCoreDataServiceImpl implements ReadWriteNonCoreDataServ
}
pValue = String.valueOf(changedColumns.get(key));
if (StringUtils.isEmpty(pValue)) {
if (StringUtils.isEmpty(pValue) || "null".equalsIgnoreCase(pValue)) {
pValueWrite = "null";
} else {
if ("bit".equalsIgnoreCase(pColumnHeader.getColumnType())) {