changeset 863:e701e2df6516

Set empty text as comment in copied status.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 04 Feb 2016 15:25:13 +0100
parents 04bec189ca19
children cbf6a15115dc
files src/main/java/de/intevation/lada/rest/StatusService.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/rest/StatusService.java	Thu Feb 04 13:50:24 2016 +0100
+++ b/src/main/java/de/intevation/lada/rest/StatusService.java	Thu Feb 04 15:25:13 2016 +0100
@@ -434,7 +434,7 @@
             copy.setMessungsId(orig.getMessungsId());
             copy.setStatusStufe(orig.getStatusStufe());
             copy.setStatusWert(orig.getStatusWert());
-            copy.setText(orig.getText());
+            copy.setText("");
             retValue = defaultRepo.create(copy, "land");
             LStatusProtokoll createdCopy = (LStatusProtokoll)retValue.getData();
             messung.setStatus(createdCopy.getId());
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)