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 146846 - bpel validation should account for incorrect property name in getVariableProperty function
Summary: bpel validation should account for incorrect property name in getVariableProp...
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-10 20:54 UTC by pvarghese
Modified: 2008-10-21 19:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test project (7.08 KB, application/x-compressed)
2008-09-11 13:16 UTC, Vladimir Yaroslavskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pvarghese 2008-09-10 20:54:42 UTC
Issue: bpel validation should account for incorrect property name in getVariableProperty function

1. BPEL editor should validate and throw an exception if the property name in the getVariableProperty function is not
defined in any of the WSDL that are directly imported by the bpel process. 

EX:
<copy>
    <from>ns1:getVariableProperty('ConcatTestOperationIn', 'ns0:str1Prop')</from>
    <to>$ConcatTestOperationOut.concatPart/str1</to>
</copy>

In the above example if the the property name "str1Prop" is not defined in any of the WSDL that are directly imported by
the process tag it should throw validation exception.
Comment 1 Vladimir Yaroslavskiy 2008-09-11 13:13:30 UTC
fixed: b083751c717f
Comment 2 Vladimir Yaroslavskiy 2008-09-11 13:16:22 UTC
Created attachment 69648 [details]
Test project
Comment 3 ggenipudi 2008-10-21 19:37:15 UTC
Tested and verified using NetBeans IDE 6.1 (Build 200810140114) and got validation error below.


init:
clean:
init:
Created dir: C:\bpprojects\gETVARIABLEPROPERTYEXCEPTIONWHEN PARTIS NOTDEFINED\project\build
C:/bpprojects/gETVARIABLEPROPERTYEXCEPTIONWHEN PARTIS NOTDEFINED/project/src/bpel.bpel:51: 12
ERROR: Function getVariableProperty() has incorrect property name "WRONG_PROPERTY".

Found validation error(s).
BUILD FAILED (total time: 0 seconds)