summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/entity/proxy
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2013-10-25 17:27:29 +0200
committerAndrew Branson <andrew.branson@cern.ch>2013-10-25 17:27:29 +0200
commit0f892332b19ba8741a7db66a5c4daa386b2b5c1e (patch)
treeed0733ed83862bf3bae1aa1c2cccec4d266e4813 /src/main/java/com/c2kernel/entity/proxy
parentcf28baaf82d0941f938444bda5b39440b944ddfb (diff)
Changes and refactoring to gui requirements
Used descriptions must use an integer version.
Diffstat (limited to 'src/main/java/com/c2kernel/entity/proxy')
-rw-r--r--src/main/java/com/c2kernel/entity/proxy/ItemProxy.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/com/c2kernel/entity/proxy/ItemProxy.java b/src/main/java/com/c2kernel/entity/proxy/ItemProxy.java
index 1740159..ceea6c3 100644
--- a/src/main/java/com/c2kernel/entity/proxy/ItemProxy.java
+++ b/src/main/java/com/c2kernel/entity/proxy/ItemProxy.java
@@ -107,10 +107,10 @@ public class ItemProxy extends EntityProxy
ObjectAlreadyExistsException
{
String outcome = thisJob.getOutcomeString();
- // check fields that should have been filled in
- if (outcome==null)
- if (thisJob.isOutcomeRequired())
- throw new InvalidDataException("Outcome is required.", "");
+ // check fields that should have been filled in
+ if (outcome==null)
+ if (thisJob.isOutcomeRequired())
+ throw new InvalidDataException("Outcome is required.", "");
else
outcome="";
@@ -119,7 +119,7 @@ public class ItemProxy extends EntityProxy
Logger.msg(7, "ItemProxy - executing "+thisJob.getStepPath()+" for "+thisJob.getAgentName());
requestAction (thisJob.getAgentId(), thisJob.getStepPath(),
- thisJob.getTransitionId(), outcome);
+ thisJob.getTransition().getId(), outcome);
}
//requestData is xmlString