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 95818 - imported element stay on diagram after removing them from original project
Summary: imported element stay on diagram after removing them from original project
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on: 82727
Blocks:
  Show dependency tree
 
Reported: 2007-02-16 14:50 UTC by Andrew Korostelev
Modified: 2007-07-27 19:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
element is removed from model, but is still on diagram. screenshot was taken after IDE restart. (28.60 KB, image/png)
2007-02-19 12:45 UTC, Andrew Korostelev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Korostelev 2007-02-16 14:50:31 UTC
If user removes elements from original project, they are not removed from
diagrams  in projects where they were imported.

steps:
- create two projects: 'UMLProject1' and 'UMLProject2'.
- add class element to 'UMLProject1'.
- add class diagram to 'UMLProject2'.
- drag-n-drop class element from 'UMLProject1' to diagram in 'UMLProject2'.
It should appear in Imported elements of 'UMLProject2'.
- remove element from 'UMLProject1'.
BUG: imported element still exists on diagram.
Comment 1 Thuy.d Nguyen 2007-02-16 17:18:47 UTC
This is a duplicate of issue 86187 which has been fixed. Please verify with the
latest build.

*** This issue has been marked as a duplicate of 86187 ***
Comment 2 Andrew Korostelev 2007-02-19 12:43:38 UTC
issue is still reproducible in all-nbms-griffin-070218_1
diagram and model screenshot will be attached
Comment 3 Andrew Korostelev 2007-02-19 12:45:15 UTC
Created attachment 38665 [details]
element is removed from model, but is still on diagram. screenshot was taken after IDE restart.
Comment 4 Yang Su 2007-07-17 23:36:20 UTC
'Diagram Synchronization' toolbar button will now update the diagram
Comment 5 Yang Su 2007-07-17 23:44:41 UTC
assign to myself
Comment 6 Yang Su 2007-07-17 23:45:39 UTC
assign to myself
Comment 7 Yang Su 2007-07-17 23:47:17 UTC
fixed
Comment 8 Peter Lam 2007-07-27 19:10:28 UTC
verified in build 070726. The 'Diagram Synchronization' toolbar button is needed to be used for refreshing the diagram
as confirmed by sherylsu "It's too costly to deep sync elements automatically in this situation, or in general."