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 88728 - Closing an exterprise app doesn't close sun-application.xml in editor space
Summary: Closing an exterprise app doesn't close sun-application.xml in editor space
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-06 17:49 UTC by Sakthivel Gopal
Modified: 2007-04-12 00:12 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 Sakthivel Gopal 2006-11-06 17:49:49 UTC
NB 5.5 with VWP installed.

I had created an enterprise app and opened the sun-application.xml
When i closed the Ejnterprise App project, sun-application.xml remained open in
editor space.
Comment 1 Lukas Jungmann 2006-11-07 05:37:30 UTC
This does not break any functionality and it is very easy to find workaround for
this => P3 (see also http://qa.netbeans.org/bugzilla/bug_priority_guidelines.html)
Comment 2 Tomas Mysik 2007-02-19 12:40:53 UTC
this issue also applies to web, ejb, application client...
Comment 3 Tomas Mysik 2007-02-21 12:39:13 UTC
The problem is that lookup returns null for DataObject.class (see 
org.netbeans.modules.project.ui.ProjectUtilities.doClose(Project[] projects, 
boolean notifyUI, Wrapper wr)).
Maybe using of associateLookup() could help but I don't know if it is correct 
solution.
Comment 4 _ pcw 2007-04-12 00:12:35 UTC
This issue exists in 5.5 and 5.5.1.

Closing as WONTFIX because that configuration editor replace by a Multiview
editor in NB 6.0 (so this issue is inherently fixed in NB 6 as of now).

It's still a real bug in 5.5.1 in case someone wanted to fixed it on that
branch, and the fix is likely what is suggested (add the proper DataObject(s) to
ConfigBeanTopComponent's lookup -- the TopComponent for the Sun Configuration
Editor).