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.
Summary: | Correlation Wizard: it's impossible to use elements of built-in type "string" for correlation | ||
---|---|---|---|
Product: | soa | Reporter: | _ alexpetrov <alexpetrov> |
Component: | BPEL | Assignee: | _ alexpetrov <alexpetrov> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screenshot |
Description
_ alexpetrov
2008-09-25 15:02:44 UTC
Created attachment 70583 [details]
screenshot
The reason of this bug: the file "org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.ValidationUtil" (module "WSDL Model Extensions" xml.wsdl.extensions) contains the method "public static boolean isBuiltInSimpleType(...)". First statements in this method: if ( !(component instanceof GlobalSimpleType)) { return false; } forbid creating of correlation links between schema components of built-in types if those schema components are instances of the class "LocalSimpleElement" (like in the project "Asynchronous BPEL Process". Fixed in trunk: http://hg.netbeans.org/main/rev/87fbe3b5470d Please, verify on NB build being equal or later than 080925... Verified on Product Version: NetBeans IDE Dev (Build 080925) Java: 1.5.0_14; Java HotSpot(TM) Client VM 1.5.0_14-b03 System: Windows XP version 5.1 running on x86 I've transplanted the changeset http://hg.netbeans.org/main/rev/87fbe3b5470d into release61_fixes repository as http://hg.netbeans.org/release61_fixes/rev/5759a10ce5cc There was minor complaint when applying the changeset, copy&pasted the session log just for the record, no need to resolve. $ hg transplant -s ../main 87fbe3b5470d searching for changes applying 87fbe3b5470d patching file xml.wsdl.extensions/src/org/netbeans/modules/xml/wsdl/model/extensions/bpel/validation/ValidationUtil.java Hunk #1 succeeded at 173 with fuzz 2 (offset 74 lines). 87fbe3b5470d transplanted to 5759a10ce5cc $ Had to remove the changeset http://hg.netbeans.org/release61_fixes/rev/5759a10ce5cc due to compilation issue. I'll port it asap. Updated status whiteboard to reflect issue status. Please, let me know ASAP if you need some help from me. I've ported the changeset http://hg.netbeans.org/main/rev/87fbe3b5470d into release61_fixes repository as http://hg.netbeans.org/release61_fixes/rev/6e6bf9c874a0 verified using the latest build following the steps described below and noticed the link was created successfully. http://beryl.russia.sun.com:8080/hudson/job/sierra/ verified using NetBeans IDE 6.1 Full distribution patch and http://bits.netbeans.org/netbeans/6.1/fixes/2008-10-03_19-45-23/uc/catalog.xml.gz and was able to create correlation following the steps below and did a validate and did not get any errors. Fixed in soa-dev: http://hg.netbeans.org/soa-dev/rev/f512fc9f835f Now source file "org.netbeans.modules.xml.wsdl.model.extensions.bpel.validation.ValidationUtil", included in "soa-dev" (module "xml.wsdl.extensions"), is used instead of the same file from NB 6.1 Patch 4. Please, verify on Sierra build being later or equal than 090114. |