diff --git a/designer-base/src/main/java/com/fr/design/data/datapane/TableDataPaneListPane.java b/designer-base/src/main/java/com/fr/design/data/datapane/TableDataPaneListPane.java index f32e8d2e2f..f6d4ce7658 100644 --- a/designer-base/src/main/java/com/fr/design/data/datapane/TableDataPaneListPane.java +++ b/designer-base/src/main/java/com/fr/design/data/datapane/TableDataPaneListPane.java @@ -261,13 +261,28 @@ public class TableDataPaneListPane extends JListControlPane implements TableData try { switch (entryEventKind) { case REMOVED: - deleteDatas.add(TableDataBeanHelper.getServerDataSetBean(s, tabledata)); + ServerDataSetBean remove = TableDataBeanHelper.getServerDataSetBean(s, tabledata); + if (StringUtils.isNotEmpty(remove.getDatasetData())) { + deleteDatas.add(remove); + } else { + FineLoggerFactory.getLogger().error("Unable to find the corresponding processor : {}", tabledata.getClass()); + } break; case ADDED: - addDatas.add(TableDataBeanHelper.getServerDataSetBean(s, tabledata)); + ServerDataSetBean add = TableDataBeanHelper.getServerDataSetBean(s, tabledata); + if (StringUtils.isNotEmpty(add.getDatasetData())) { + addDatas.add(add); + } else { + FineLoggerFactory.getLogger().error("Unable to find the corresponding processor : {}", tabledata.getClass()); + } break; case UPDATED: - updateDatas.add(TableDataBeanHelper.getServerDataSetBean(s, tabledata)); + ServerDataSetBean update = TableDataBeanHelper.getServerDataSetBean(s, tabledata); + if (StringUtils.isNotEmpty(update.getDatasetData())) { + updateDatas.add(update); + } else { + FineLoggerFactory.getLogger().error("Unable to find the corresponding processor : {}", tabledata.getClass()); + } break; default: break;