From 94f8c90b4eb50398388b6ee2ebb4e19c8abdee01 Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Tue, 6 Sep 2011 15:50:21 +0000 Subject: [PATCH] Fix parameters not properly passed git-svn-id: https://svn.argeo.org/slc/trunk@4731 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- .../slc/jcr/execution/JcrProcessThread.java | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/execution/JcrProcessThread.java b/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/execution/JcrProcessThread.java index eab881f73..ce9aa1da3 100644 --- a/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/execution/JcrProcessThread.java +++ b/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/execution/JcrProcessThread.java @@ -108,20 +108,20 @@ public class JcrProcessThread extends ProcessThread implements SlcNames { Map attrs = readExecutionSpecAttributes(realizedFlowNode); Map values = new HashMap(); for (String attrName : attrs.keySet()) { - if (flowNode.hasNode(attrName)) { - // we assume this is a primitive - // since ref are not yet implemented - Node valueNode = flowNode.getNode(attrName); - String type = valueNode.getProperty(SLC_TYPE).getString(); - String valueStr = valueNode.getProperty(SLC_VALUE) - .getString(); - Object value = PrimitiveUtils.convert(type, valueStr); - values.put(attrName, value); - } else { +// if (flowNode.hasNode(attrName)) { +// // we assume this is a primitive +// // since ref are not yet implemented +// Node valueNode = flowNode.getNode(attrName); +// String type = valueNode.getProperty(SLC_TYPE).getString(); +// String valueStr = valueNode.getProperty(SLC_VALUE) +// .getString(); +// Object value = PrimitiveUtils.convert(type, valueStr); +// values.put(attrName, value); +// } else { ExecutionSpecAttribute attr = attrs.get(attrName); Object value = attr.getValue(); values.put(attrName, value); - } +// } } // if(executionSpec!=null) -- 2.39.2