Hi Douglas,

thanks for reporting that and for the patch. Would you mind to file a jira for that and attach the patch with the "Grant license to ASF for inclusion in ASF works" button checked? We can only include it if the license grant has been accepted... Sorry for the inconvenience!

Thanks,
  Tammo

Jackson, Douglas wrote:
Hi!
I found another bug in the process and instance management service.
I was running the list processes custom on an ode installation with one
simple process deployed and got errors on the client side because the
properties and endpoints elements were missing (they are required
elements
in the schema).   Here is a patch that fixes it.  Another way to fix it
is
to make the elements optional in the schema.
-Doug.

Index:
bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstance
ManagementImpl.java
===================================================================
---
bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstance
ManagementImpl.java (rev
ision 612598)
+++
bpel-runtime/src/main/java/org/apache/ode/bpel/engine/ProcessAndInstance
ManagementImpl.java (wor
king copy)
@@ -748,6 +748,9 @@
                 propNode.appendChild(node2append);
             }
         }
+        else {
+           info.addNewProperties();
+        }

         OProcess oprocess = _server.getOProcess(pconf.getProcessId());
         if (custom.includeEndpoints() && oprocess != null) {
@@ -766,6 +769,9 @@
                 }
             }
         }
+        else {
+           info.addNewEndpoints();
+        }

     }


Reply via email to