[ https://issues.apache.org/jira/browse/ODE-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754147#comment-13754147 ]
Hudson commented on ODE-454: ---------------------------- FAILURE: Integrated in ODE-trunk-jdk6 #739 (See [https://builds.apache.org/job/ODE-trunk-jdk6/739/]) closing ODE-454, kudos to Shammy Chen for the detailed report. (vanto: rev b7a70252b5604221c5f2d0f8d3c3be563393ace2) * bpel-compiler/src/test/java/org/apache/ode/bpel/compiler_2_0/GoodCompileTest.java * bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/BpelObjectFactory.java * bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/CompletionCondition.java * bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/ForEachGenerator.java * bpel-compiler/src/main/java/org/apache/ode/bpel/compiler/bom/Branches.java * bpel-scripts/src/main/resources/2.0/good/foreach/ForEach3-2.0.bpel fixing a filename case typo. refs ODE-454. (vanto: rev 9b075ad1357d8d61fce99164cdac8bfa17c1a33f) * bpel-epr/src/test/java/org/apache/ode/bpel/epr/WSDL11EndpointTest.java * bpel-epr/src/main/test/org/apache/ode/bpel/epr/WSDL11EndpointTest.java * bpel-epr/src/main/java/org/apache/ode/bpel/epr/WSDL11Endpoint.java * bpel-epr/src/main/java/org/apache/ode/bpel/epr/WSAEndpoint.java > forEach activity compilation bugs when compiling completionCondition > --------------------------------------------------------------------- > > Key: ODE-454 > URL: https://issues.apache.org/jira/browse/ODE-454 > Project: ODE > Issue Type: Bug > Components: BPEL Compilation/Parsing > Affects Versions: 1.2 > Environment: Java(TM) 2 Runtime Environment, Standard Edition (build > 1.5.0_11-b03) > Reporter: Shammy Chen > Assignee: Tammo van Lessen > Fix For: 1.3.6, 1.4 > > Attachments: ForEach.zip > > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > I am using ODE 1.2 for my company,when I use forEach activity,I find it fails > when it comes > to completionCondition.It doesn't work as BPEL 2.0 specfication states.Then I > try it out,now > it works.The following is my way to fix this problem: > > (1)modify constructor of class > org.apache.ode.bpel.compiler.bom.BpelObjectFactory, add these > two statements: > _mappings.put(Bpel20QNames.FINAL_COMPLETION_CONDITION, > CompletionCondition.class); > _mappings.put(Bpel20QNames.FINAL_BRANCHES, Expression.class); > > (2)modify class org.apache.ode.bpel.compiler.bom.CompletionCondition,add > method getBranch: > public Expression getBranch() { > return (Expression) > getFirstChild(rewriteTargetNS(Bpel20QNames.FINAL_BRANCHES)); > } > > (3)modify compile function of class > org.apache.ode.bpel.compiler.ForEachGenerator: > replace > oforEach.completionCondition.branchCount = > _context.compileExpr(forEach.getCompletionCondition()); > for > oforEach.completionCondition.branchCount = > _context.compileExpr(forEach.getCompletionCondition().getBranch()); > > I hope you will fix this problem in the main source branch as soon as > possible,thank you. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira