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 85210 - after "undo delete" bean, is not recognize in sun-ejb-jar
Summary: after "undo delete" bean, is not recognize in sun-ejb-jar
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on: 74489 85282
Blocks:
  Show dependency tree
 
Reported: 2006-09-19 10:35 UTC by Lukasz Grela
Modified: 2007-09-21 00:56 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 Lukasz Grela 2006-09-19 10:35:28 UTC
#200609190300

1) create ejb-module with glassfish

2) create session bean

3) create sun-ejb-jar.xml

4) select "safely delete" on bean class

5)  select "undo safe delete" 

6) the beans class is restored but is not visible under sun-ejb-jar.xml
Comment 1 _ pcw 2006-09-19 23:31:22 UTC
This is not a SJSAS plugin issue.  The bean is not restored becuase the
configuration editor never receives a new DDBean event from the merged
annotation-dd provider.

SafeDelete's Undo support is horribly broken.

Undo Safe Delete action grabs a lock on the file and never releases it.  See
attached exception.

Furthermore, once the lock problem is fixed, the event is still not sent because
MDR does not reparse the file.

It looks like issue 74489 is meant to fix the parsing problem but is not
correctly fixed either.
Comment 2 _ pcw 2007-08-25 09:25:51 UTC
Need to retest to see how much of the description is still valid against 6.0.
Comment 3 _ pcw 2007-09-21 00:56:28 UTC
Fixed in 6.0 due to redesign of annotation handling and interactions with configuration editor.