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 116029 - [60cat] problem with deleting uml diagrams element nodes
Summary: [60cat] problem with deleting uml diagrams element nodes
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Viktor Lapitski
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-09-19 16:07 UTC by azizi
Modified: 2007-10-25 23:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
picture no1 (64.95 KB, image/jpeg)
2007-09-19 16:09 UTC, azizi
Details
picture no2 (52.18 KB, image/jpeg)
2007-09-19 16:10 UTC, azizi
Details
picture no3 (63.08 KB, image/jpeg)
2007-09-19 16:10 UTC, azizi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description azizi 2007-09-19 16:07:58 UTC
How to reproduce it.

1. Create a UML project
2. From the projects window, right click project -> New -> Diagram and select Activity diagram
3. In Activity diagram tab add 5 or more invocation elements.
4. select and delete the 4th element in Activity diagram tab window.
   ( do not check the - Deletion will permanently delete elements from project - check box)
   ( see attachment picture no1 )
5. delete the 3th element as above 
6. delete the 4th element as above 
7. so we have something like this ( attachment picture no2 )
8. Select invocation node no 2 in project tree and then delete it there( picture no3 )
9. as you can see this node can not be deleted. 

i try this issues with usecase, class, and ... result is same for all
i try it even in windows xp and linux ubuntu and kbuntu as same.
Comment 1 azizi 2007-09-19 16:09:35 UTC
Created attachment 49080 [details]
picture no1
Comment 2 azizi 2007-09-19 16:10:02 UTC
Created attachment 49081 [details]
picture no2
Comment 3 azizi 2007-09-19 16:10:33 UTC
Created attachment 49082 [details]
picture no3
Comment 4 Joanne Lau 2007-09-19 16:46:52 UTC
Issue reproducible in the beta 1 build as well as in the trunk build.
This seems to be a refresh issue. The workaround is right click the Model -> Filter from
the projects window.
Comment 5 Peter Lam 2007-09-20 17:30:02 UTC
yes, reproducible in nb6, but not in nb5.5/5.5.1 so it got to be a recent regression.
Comment 6 Thuy.d Nguyen 2007-10-06 01:18:50 UTC
This issue and issue 114936 have the same root cause (certain nodes can not be deleted from the tree). The regression is
due to a recent change to the underlined implementation of node collection in an effort to fix performance issue seen on
the project tree.  Reassigning to lvv for further investigation.
Comment 7 Viktor Lapitski 2007-10-12 07:32:34 UTC
fixed.
Comment 8 Peter Lam 2007-10-25 23:44:20 UTC
verified in the latest trunk build 20071025193521.