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 84948 - IcanproLogicalViewProvider.findPath return bpel node give wsdl file
Summary: IcanproLogicalViewProvider.findPath return bpel node give wsdl file
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Project (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-14 22:01 UTC by Nam Nguyen
Modified: 2006-09-30 14:25 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 Nam Nguyen 2006-09-14 22:01:27 UTC
- create AsynchronousSample
- right click and do 'Find Usages' on AsynchronousSample.xsd.
- In XML Usages output tab window right side (grahp), we will see 2 usage nodes:
AsynchronousSampleClient.wsdl and AsynchronousSample.wsdl.
- In the output window right side (explorer), note that the usages file node
shown are AsynchronousSample.bpel and AsynchronousSampleClient.bpel instead of
'*.wsdl'.  (clicking on the leaf nodes will actually bring you to the wsd files
not bpel's.

Put a breakpoint in debugger at xml/refactoring file WhereUsedReader.java:841,
you will see the file ojbect given to findPath() is a wsdl file.
Comment 1 Denis Anisimov 2006-09-15 14:35:01 UTC
This method was implemented by me.
I will correct them.
Comment 2 Denis Anisimov 2006-09-15 14:46:04 UTC
Some additional logiс is required when search is performed.
The situation could happen when one folder has two files with same name
but different extension. Old method found first Node with reqiured name
( name doesn't contain extension ). So when project has f.e.
xyz.bpel and xyz.wsdl then search worked incorrect.
Comment 3 Mikhail Kondratyev 2006-09-30 14:25:15 UTC
Verified in build from 2006.09.27