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 176724 - Type chooser dialog doesn't restore tree selection for types from BPEL Global Catalog
Summary: Type chooser dialog doesn't restore tree selection for types from BPEL Global...
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Sergey Lunegov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-12 12:38 UTC by Nikita Krjukov
Modified: 2011-11-30 16:24 UTC (History)
0 users

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 Nikita Krjukov 2009-11-12 12:38:06 UTC
Steps to reproduce:
-- Open any BPEL file 
-- Create a new BPEL variable and choose a type from a schema from BPEL Global Catalog. 
-- Close the dialog and open it again. 
-- The dialog doesn't restore tree selection. It has to select the type, which the variable has. 

My superficial analysis shows that the tree searching algorithm works fine. But there is another more serious problem. Unlike any other XML models, which have single instance, a new instance of model is created for modes from Global Catalog each time they are requested. 

It leads to impossibility of standard comparison. Two schema components can represent the same object, but they have different instances because they are located in different model's instances. 

I don't know what is the reason for such behavior and if is has been done intentionally. But it looks strange anyway and deserves to be investigated separately.