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 147313

Summary: Validation should throw error when Partnerlink is mapped to non partnerlink variable
Product: soa Reporter: ggenipudi <ggenipudi>
Component: BPEL ValidationAssignee: Vladimir Yaroslavskiy <yaroslavskiy>
Status: RESOLVED FIXED    
Severity: blocker CC: alex02
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:
Attachments: dynamic partner link
Test project
PROJECT

Description ggenipudi 2008-09-15 22:21:17 UTC
Open the attached project and open bpel and assign2 and observe partner link my role can be linked to Echooperationout
whick is not a partnerlink variable. Validation error needs to be thrown when user does this.
Comment 1 ggenipudi 2008-09-15 22:22:35 UTC
Created attachment 69908 [details]
dynamic partner link
Comment 2 Sergey Lunegov 2008-09-16 09:16:19 UTC
Vladimir, please look at this.
Comment 3 Vladimir Yaroslavskiy 2008-09-16 12:39:20 UTC
fixed: add check if variable type in "to" equals "http://docs.oasis-open.org/wsbpel/2.0/serviceref":ServiceRefType
Comment 4 Vladimir Yaroslavskiy 2008-09-16 12:40:13 UTC
Created attachment 69940 [details]
Test project
Comment 5 ggenipudi 2008-10-17 01:43:09 UTC
Tested and verified using Build 200810140114 with the attached project and got the error message but when I tried to map
myrole to Echooperationout/part1 it does not seem to complain. Please see attached project with the changed mapping.
Comment 6 ggenipudi 2008-10-17 01:44:28 UTC
Created attachment 72062 [details]
PROJECT
Comment 7 Vladimir Yaroslavskiy 2008-10-17 09:45:46 UTC
corrected: hg.netbeans.org/soa-dev/rev/23a15b0cbbc4