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 153384

Summary: Links on class diagrams inconsistent
Product: uml Reporter: thomasmatzner <thomasmatzner>
Component: Diagram ClassAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 160192    
Bug Blocks:    
Attachments: The projects Issues and Issues2 as described in the ticket

Description thomasmatzner 2008-11-18 13:52:22 UTC
1. In project "Issues2", insert a class 'SomeClass".
2. In project "Issues", insert a Class Diagram 1 on which you put an interface "MyInterface".
3. Drag "SomeClass" from project "Issues2" to Class Diagram 1 of "Issues" (gets shown as imported from Issues2).
4. Draw an Implementation arrow from "SomeClass" to "MyInterface".
5. In project "Issues", insert another Class Diagram 2.
6. Drag "MyInterface" to Class Diagram 2.
7. Drag "SomeClass" to Class Diagram 2. The implementation relationship is not shown, neither is there a way to get it
shown. Adding an implementation relationship between the two would lead to another implementation relationship in the
model, which is not correct.

The two projects containing the described content will get uploaded.
Comment 1 thomasmatzner 2008-11-18 13:54:06 UTC
Created attachment 73867 [details]
The projects Issues and Issues2 as described in the ticket
Comment 2 thomasmatzner 2008-11-18 14:14:33 UTC
I also get this effect if the second element is not imported from another project, although the error doesn't occur
reliably.
Comment 3 Sergey Petrov 2008-11-20 16:03:43 UTC
will look if can be fixed in 7.0.