This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Original status: 9-Fix Failed; Suggested Status: REOPENED Original Target Release: coke_dev; Suggested Target Milestone : 5.5 Original submitter: barkodar Description: Create a BPEL process add some variables and elements. Use the mapper to create Predicates The following steps are for Creating Predicates: 1. In the left pane, right-click a node and choose New Predicate. The Predicate window appears. 2. Create the condition for the predicate. 3. Click OK. But, when I right-click nodes in the left pane, there are only 2 options; Expand and Collapse. Description (Entry 2): Predicates can only be demonstrated by setting up the XSD appropriately. 1. save the attached bpel project to your computer (BpelApp4.zip) 2. unzip the file 3. open Netbeans and open the project within Netbeans 4. in the BpelApp4 project, open the OrchestrationProject1.bpel file 5. open the Mapper window (via the Window menu) 6. select the "assign" element in the design view 7. in the mapper, fully expand the "inputVar" node in the left mapper tree 8. with the mouse, right-click on the "company" node and select New Predicate Evaluation: Added predicates functionality. It was not possible to create a predicate because the mapper had no such functionality. I added this and now you should be able to create predicates. 4 attempts, did not see the ability to create predicates in successive builds. use Description #2 when attempting to reproduce this bug Description #1 does not show you how to reproduce it at all I have created a sample project, see the "Attachments" tab. Instructions on how to use that sample project are all in Description #2. this bug should be fixed as stated, the problem was with the description on how to reproduce the bug
Created attachment 31835 [details] sample project
Created attachment 31876 [details] New Demonstration Project
Re-tested, and predicates can be created. As so much has changed, the old project no longer works. Please use the new attached project (attachment id=31876). Here is the bug description on how to reproduce the error: 1. save the attached bpel project to your computer (Echo.zip) 2. unzip the file 3. open Netbeans and open the project within Netbeans 4. in the Echo project, open the bpel file 5. open the Mapper window (via the Window menu) 6. select the "assign" element in the design view 7. in the mapper, fully expand the "echo_Element" node in the left mapper tree 8. with the mouse, right-click on the "cash" node and select New Predicate 9. map something into the predicate result node in the New Predicate Window (i.e. just map a string literal into the target node) 10. click ok to close the New Predicate Window 11. verify that the new predicate node has been created under the echo_Element node in both source and destination trees
Verified in build from 060723
tested with a predicate using a variable as well as number literal