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 80209 - There is digram wich has incorrect connections after change source of bpel file (input incorrect var
Summary: There is digram wich has incorrect connections after change source of bpel fi...
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Mapper (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Joshua Sandusky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-13 18:39 UTC by bugbridge
Modified: 2006-08-03 22:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
There is screen shot (107.63 KB, image/png)
2006-07-27 16:52 UTC, Victoria Zhukovskaya
Details
There is a better screen shot (632.38 KB, image/png)
2006-07-27 16:54 UTC, Victoria Zhukovskaya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-07-13 18:39:02 UTC
Original status: 5-Cause Known; Suggested Status: NEW

Original Target Release: coke_dev; Suggested Target Milestone : 5.5

Original submitter: victoriaz

Description:

1. Opene Design view of bpel, there is assign activity, select assign. Bpel 
has 3 int varibles - Var1, Var2, Var3. 
2. Open BPEL  Mapper
3. Create  subtraction Operator on Mapper
4. Connect Var1 and number1, Var2 and number2 return number and Var3
5. Save All
6. See source of bpel file - <from> ( $Var1 - $Var2 ) </from><to>$Var3</to>
 Change this line to <from> ( $Var1 - $Var2111111111 ) </from><to>$Var3</to>
7. Save All. Select Design View of bpel. Select another activity and then 
select the assign activity.

See Mapper. There is digram wich has incorrect connections:
<Var1 and number1>, !!!!!!!!<Var3 and number2>!!!!!!!!!,  <return number and 
Var3>

Expected result:
  Diagramm should not contain connection between any variable and number2

Evaluation:
This a negative test. where assignment was modified with a variable value
which does not exist.
Comment 1 Joshua Sandusky 2006-07-15 01:00:59 UTC
reproduced
Comment 2 Joshua Sandusky 2006-07-26 23:37:00 UTC
fixed, now links will not be drawn to expressions that don't exist. Also, if an
expression is completely invalid (i.e. $Var1 - ), then the expression just won't
show up at all.
Comment 3 Victoria Zhukovskaya 2006-07-27 16:08:22 UTC
Verified in build  coke060725, WinXP
IDE is hanged on after step 7
Comment 4 Michael Frisino 2006-07-27 16:25:27 UTC
how reproducible is this Victoria? Can you reproduce it easily?
Comment 5 Victoria Zhukovskaya 2006-07-27 16:51:25 UTC
steps for Reproduce:
1. There is SynchronousProject Sample
2. Add to project Variable1 (int)
3. Use operator String, add into source of bpel:
            <assign name="Assign1">
            <copy>
            <from>string($Variable1)</from><to>$inputVar.inputType/paramA</to>
            </copy>
        </assign>
4. Select design view of bpel, select assign activity. Open BPEL MAPPER
5. Return to  source of bpel. Change
           <copy>
          
<from>string($Variable1333333333333333333333333333333333333333333)</from><to>$inputVar.inputType/paramA</to>
            </copy>

6. Press Save all

Result IDE is hanged
Comment 6 Victoria Zhukovskaya 2006-07-27 16:52:35 UTC
Created attachment 32265 [details]
There is screen shot
Comment 7 Victoria Zhukovskaya 2006-07-27 16:54:12 UTC
Created attachment 32266 [details]
There is a better screen shot
Comment 8 Victoria Zhukovskaya 2006-07-27 16:55:42 UTC
one more update -
the name of incorrect variable should be very long.
Comment 9 Joshua Sandusky 2006-07-27 20:54:39 UTC
added further recovery support for negative expression test cases
Comment 10 lchang 2006-08-03 22:59:34 UTC
fixed