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 127446 - The function "Key" is unknown.
Summary: The function "Key" is unknown.
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Mapper (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Nikita Krjukov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-15 09:22 UTC by Victoria Zhukovskaya
Modified: 2008-02-27 14:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victoria Zhukovskaya 2008-02-15 09:22:46 UTC
The function "Key" is unknown.


Build 200802140010

1. Create synchronouse sample
2. Invoke Mapper for  Assign activity 
3. Change expression on bpel mapper design view into
            <copy>
                <from>Key('dd', $inputVar.inputType/ns2:paramA)</from>
                <to>$outputVar.resultType/ns2:paramA</to>
            </copy>
3. Goto source view for bpel
4. Invoke validation

Result:
XML validation started.

Documents and Settings/vz153235.OLYMP/My
Documents/NetBeansProjects/SynchronousSample25/SynchronousSample25/src/SynchronousSample.bpel:68,16
ERROR: From: The function "Key" is unknown. Expression: "Key('dd', $inputVar.inputType/ns2:paramA)"

5. Goto bpel mapper view - there is no operators on view.
Comment 1 Sergey Lunegov 2008-02-15 09:31:53 UTC
Not sure we support this function. Maybe error message should be corrected only.
Comment 2 Nikita Krjukov 2008-02-15 12:52:33 UTC
reassign to myself
Comment 3 Nikita Krjukov 2008-02-20 15:01:36 UTC
I removed the following functions from the palette 
- FormatNumber()
- key()
- union operator
- id() 
- getVariableProperty()

The "union operator" and getVariableProperty() can appear in BPEL sources 
but it will produce the validation warning: "The function "xxx" is not supported by the runtime". 
Comment 4 Victoria Zhukovskaya 2008-02-27 14:42:09 UTC
Build 200802270005
operators are remooved