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 86693 - element from another project is placed on diagram even if it can't be imported
Summary: element from another project is placed on diagram even if it can't be imported
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on: 86690
Blocks:
  Show dependency tree
 
Reported: 2006-10-06 16:19 UTC by Andrew Korostelev
Modified: 2009-05-25 21:06 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 Andrew Korostelev 2006-10-06 16:19:19 UTC
If user drag-n-drops element to diagram from another project that has imported
element from the current one, 
User get's message that import is not allowed, but element is placed on diagram.

steps to reproduce:
- we have 'UmlProject1' with 'Class1' element
- 'UmlProject2' with 'Class2' element
- import 'Class1' to 'UmlProject2'
- create class diagram 'Diagram1' in 'UmlProject1'.
- drag-n-drop 'Class2' from 'UmlProject2' to 'Diagram1'
importing is not allowed with the following message: 'Cannot add cyclic references'.
As a result element is placed on diagram but doesn't appear as Imported Element
in project tree.
Comment 1 Andrew Korostelev 2006-10-06 16:20:22 UTC
may be it is related to issue 82873
Comment 2 Andrew Korostelev 2007-01-09 13:52:28 UTC
see also issue 86686 - can't import element from project which previously had
reference to the current one
Comment 3 Sergey Petrov 2009-01-23 14:07:49 UTC
still the same in 6.5