]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Fix parameters not properly passed
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 6 Sep 2011 15:50:21 +0000 (15:50 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 6 Sep 2011 15:50:21 +0000 (15:50 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@4731 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

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)