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 28913

Summary: Problematic getLookup impl for FilterNode -> could create inproper context actions in popup
Product: platform Reporter: Peter Zavadsky <pzavadsky>
Component: NodesAssignee: Jaroslav Tulach <jtulach>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 27868    

Description Peter Zavadsky 2002-11-21 15:59:34 UTC
See issue #28909.
The problem is that delegating lookup to the
original sometimes (or usually?) doesn't work.
I.e. when the lookup return node which parent
differs from the filter one -> it is the case of
MountNode$CapNode in Filesystems customizer, then
the context created from such a nodes for the
actions in popup menu is incorrect.
I.e. in that issue was neede the parent node for
examining IndexCookie (MoveUp, MoveDown actions).

My concern is this could produce a lot of bugs in
IDE when itroduced this new actions.
Comment 1 Jaroslav Tulach 2002-11-26 18:27:41 UTC
Clearbug in FilterNode getLookup.
Comment 2 Jaroslav Tulach 2002-11-27 09:49:05 UTC
Test that demonstrates the failure written and checked in.
Comment 3 Jaroslav Tulach 2002-11-27 10:49:47 UTC
I have it resolved. Waiting for tigris lock to release the CVS for commit.
Comment 4 Jaroslav Tulach 2002-11-27 11:04:24 UTC
Done.

openide/src/org/openide/nodes/FilterNode.java  1.61
openide/test/unit/src/org/openide/nodes/NodeLookupTest.java   1.8
Comment 5 Marian Mirilovic 2004-03-15 15:20:25 UTC
fixed long time ago.....
...verified....
reopen if disagree