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 57684 - sun-ejb-jar.xml visual editor not updating
Summary: sun-ejb-jar.xml visual editor not updating
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on: 57848
Blocks:
  Show dependency tree
 
Reported: 2005-04-08 16:37 UTC by Kenneth Ganfield
Modified: 2007-09-17 21:55 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 Kenneth Ganfield 2005-04-08 16:37:56 UTC
Created resources using the Use Database and Send JMS and they appear in the
sun-ejb-jar.xml file. they are visible as nodes in the sun-ejb-jar.xml visual
editor and in the source mode.

If i delete the resources manually in the xml source, and then open the xml in
the visual editor, the resources i deleted are still visible. if i open up the
xml source again, they are not there. discrepancy between views.

I then edit the resources in the visual editor [eg change the jndi name of a
resource i deleted] and save and close the xml. 
Now if i open the xml in edit mode all the deleted resources are back again
Comment 1 Sherold Dev 2005-04-13 18:23:59 UTC
The problem is that you deleted those resources only from the sun-ejb-jar.xml
and not also from the ejb-jar.xml. When you then open the visual editor, your
sun-ejb-jar.xml will be "repaired", however, the "repaired" version will not be
saved unless you make any other change and save it.

I've found two issues, when investigating this one.

1. The changes are not saved or the editor is not marked as modified after the
sun-ejb-jar.xml is "repaired".

2. The other issue is filed as issue 57848.
Comment 2 Sherold Dev 2005-09-18 11:04:51 UTC
moving to sunappserv
Comment 3 _ pcw 2005-12-06 16:46:30 UTC
I think this bug, which presumably refers specifically to case 1, above, is
fixed.  I will confirm.
Comment 4 _ pcw 2005-12-06 20:07:38 UTC
Problem #1 above is not fixed yet in the edge case still remaining as described
in issue 57848.
Comment 5 _ pcw 2005-12-13 07:25:16 UTC
Deferring to promo-G since I deferred issue 57848 to promo-G.
Comment 6 _ pcw 2006-08-15 17:03:36 UTC
Ludo downgraded issue 57848 to P4 - this one should be same priority as that
one, so downgrading as well.
Comment 7 Jiri Prox 2007-09-17 21:35:56 UTC
Obsolete milestone, please reevaluate
Comment 8 _ pcw 2007-09-17 21:55:07 UTC
Closing as fixed since the main issue was fixed long ago and the remaining edge case (issue 57848) no longer applies due
to NB6 rewrite of config editor.