Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364497

Summary: BPEL editor adds empty completionCondition element (Foreach activity)
Product: z_Archived Reporter: Nadine Ausländer <nadine.auslaender>
Component: BPELAssignee: Project Inbox <bpel.default-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: igor.novakovic, nadine.auslaender
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Nadine Ausländer CLA 2011-11-22 12:23:34 EST
Build Identifier: 0.5.0.v20110623-1252-H77-CI

Though I did not change any properties on the "Completion" tab of the "Properties" view, the editor adds an empty <bpel:completionCondition></bpel:completionCondition> element (which is then marked as an error in the Problems view).

To workaround this issue, I had to delete the element from the XML source.

Reproducible: Always

Steps to Reproduce:
1. Create a new BPEL Process File.
2. Add a ForEach activity.
3. Select the ForEach activity in the Business Process editor.
4. Switch to the Problems view.
5. Select the Completion tab (do not change anything here).
6. Set focus on the Business Process editor, then save the workflow.
=> Result is:

 <bpel:forEach parallel="no" counterName="Counter" name="ForEach">
   => <bpel:completionCondition></bpel:completionCondition> <=
   <bpel:scope></bpel:scope>
 </bpel:forEach>