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 - Problematic getLookup impl for FilterNode -> could create inproper context actions in popup
Summary: Problematic getLookup impl for FilterNode -> could create inproper context ac...
Alias: None
Product: platform
Classification: Unclassified
Component: Nodes (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
Depends on:
Blocks: 27868
  Show dependency tree
Reported: 2002-11-21 15:59 UTC by Peter Zavadsky
Modified: 2008-12-22 22:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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

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