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 93500 - Should not allow cyclic reference when adding project dependency
Summary: Should not allow cyclic reference when adding project dependency
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Catalog Support (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: bhate
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-30 04:33 UTC by _ hong_lin
Modified: 2007-09-25 01:34 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 _ hong_lin 2007-01-30 04:33:32 UTC
Build: Gavotte daily build 070125_12

Right now, cyclic reference is allowed:
After adding project B as project A's reference, user is able to add project A
as projects B's refernce. The cyclic reference issue will cause the build
process be endless later.
Comment 1 Nam Nguyen 2007-01-30 08:28:53 UTC
Please refer to java project behavior/dialog.  Make sure the selection of self
is also prevented.
Comment 2 bhate 2007-01-31 21:53:22 UTC
This is valid issue.
Added check to prevent cyclic dependency and self reference (similar to j2se
project)
/cvs/xml/catalogsupport/src/org/netbeans/modules/xml/catalogsupport/ui/customizer/CustomizerProjectReferences.java,v
 <--  CustomizerProjectReferences.java
new revision: 1.1.2.4; previous revision: 1.1.2.3
Comment 3 _ hong_lin 2007-02-01 19:55:59 UTC
Verified the bug is fixed in Gavotte daily build 070131_27