This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/develop by this push:
new 912349e AIRAVATA-2981 When cloning experiment, clear out processes,
statuses
912349e is described below
commit 912349e769f1acce9e53cc7afbb7185487d1efda
Author: Marcus Christie <[email protected]>
AuthorDate: Mon Feb 18 12:20:50 2019 -0500
AIRAVATA-2981 When cloning experiment, clear out processes, statuses
---
.../apache/airavata/api/server/handler/AiravataServerHandler.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
index 27f7d98..c79c3ec 100644
---
a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
+++
b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
@@ -2090,9 +2090,9 @@ public class AiravataServerHandler implements
Airavata.Iface {
if (validateString(newExperimentName)){
existingExperiment.setExperimentName(newExperimentName);
}
- if (existingExperiment.getErrors() != null ){
- existingExperiment.getErrors().clear();
- }
+ existingExperiment.unsetErrors();
+ existingExperiment.unsetProcesses();
+ existingExperiment.unsetExperimentStatus();
if(existingExperiment.getUserConfigurationData() != null &&
existingExperiment.getUserConfigurationData()
.getComputationalResourceScheduling() != null){
String compResourceId =
existingExperiment.getUserConfigurationData()