diff --git a/sources/Re3gistry2JavaAPI/src/main/java/eu/europa/ec/re3gistry2/javaapi/handler/RegItemHandler.java b/sources/Re3gistry2JavaAPI/src/main/java/eu/europa/ec/re3gistry2/javaapi/handler/RegItemHandler.java index 92bd450d..de4faf59 100644 --- a/sources/Re3gistry2JavaAPI/src/main/java/eu/europa/ec/re3gistry2/javaapi/handler/RegItemHandler.java +++ b/sources/Re3gistry2JavaAPI/src/main/java/eu/europa/ec/re3gistry2/javaapi/handler/RegItemHandler.java @@ -159,8 +159,8 @@ public String regItemProposedToRegItem(RegItemproposed regItemProposed) throws E // update the existing RegItem regItem.setLocalid(regItemProposed.getLocalid()); regItem.setRegItemclass(regItemProposed.getRegItemclass()); - regItem.setInsertdate(new Date()); - regItem.setEditdate(regItemProposed.getEditdate()); + regItem.setInsertdate(regItemProposed.getInsertdate()); + regItem.setEditdate(new Date()); regItem.setRegAction(regItemProposed.getRegAction()); regItem.setRegUser(regItemProposed.getRegUser()); regItem.setRorExport(regItemProposed.getRorExport());