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.

Bug 80200 - Can not use the mapper to create Predicates.
Summary: Can not use the mapper to create Predicates.
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Mapper (show other bugs)
Version: 5.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: Joshua Sandusky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-13 18:28 UTC by bugbridge
Modified: 2006-08-03 20:54 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project (10.43 KB, application/octet-stream)
2006-07-13 18:31 UTC, lchang
Details
New Demonstration Project (12.81 KB, application/octet-stream)
2006-07-14 00:44 UTC, Joshua Sandusky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-07-13 18:28:38 UTC
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
Comment 1 lchang 2006-07-13 18:31:06 UTC
Created attachment 31835 [details]
sample project
Comment 2 Joshua Sandusky 2006-07-14 00:44:55 UTC
Created attachment 31876 [details]
New Demonstration Project
Comment 3 Joshua Sandusky 2006-07-14 00:49:58 UTC
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

Comment 4 Mikhail Kondratyev 2006-07-24 14:26:36 UTC
Verified in build from 060723
Comment 5 lchang 2006-08-03 20:54:09 UTC
tested with a predicate using a variable as well as number literal