]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/execution/JcrProcessThread.java
Fix parameters not properly passed
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.jcr / src / main / java / org / argeo / slc / jcr / execution / JcrProcessThread.java
index eab881f73ff6ccd248a3b1ef709801cf3b134412..ce9aa1da391f9cd425f9540be0d43714dc57ce88 100644 (file)
@@ -108,20 +108,20 @@ public class JcrProcessThread extends ProcessThread implements SlcNames {
                        Map<String, ExecutionSpecAttribute> attrs = readExecutionSpecAttributes(realizedFlowNode);
                        Map<String, Object> values = new HashMap<String, Object>();
                        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)