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 99176 - Move a file from a project to its referenced project may cause unfixed "Broken reference"
Summary: Move a file from a project to its referenced project may cause unfixed "Broke...
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: pnarayan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-27 19:54 UTC by _ hong_lin
Modified: 2007-03-27 19:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ hong_lin 2007-03-27 19:54:37 UTC
Build: Hula build (daily-200703220921)
 
Steps to reproduce it:
1. ProjectA reference ProjectB.
2. A1.xsd and A2.xsd are in ProjectA. A2.xsd is a referenced schema to A1.xsd.
3. Move A1.xsd from ProjectA to ProjectB.
4. Open A1.xsd in ProjectB, expand "Referenced Schemas", select "import
{http://.../A2.xsd", will see "Broken reference" in the third column in the XML
Schema Editor.
5. This "Broken reference" can not be customized, because if ProjectA reference
ProjectB, then ProjectB can not reference ProjectA. 

Is there a way to prevent this kind of file moving? or give user a warning when
they try to move the file? Or give user a choise to undo the file moving?