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 153904 - Unexpected behavior while working with two UML project with same name but in different directory.
Summary: Unexpected behavior while working with two UML project with same name but in ...
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-26 05:58 UTC by soj_in
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 soj_in 2008-11-26 05:58:43 UTC
Hi,

I've created two UML projects with same name (say "UHandler") but in two different directories (say D:\Work\Test1 and 
D:\Work\Test2)

So the project files will look like

D:\Work\Test1\UHandler
D:\Work\Test2\UHandler

Create a class diagram (leave it to default name) in both the projects and save.

Now close these projects from the IDE and restart the IDE. Open these projects again and set one project to "Main" 
project (say D:\Work\Test2\UHandler)

Try to add one operation to the class diagram of the project which is NOT main projet (here, D:\Work\Test1\UHandler) 
and save.
Now open class diagram of Main project, the changes are getting reflected on the other project too.

Also sometimes, its been noted that, while we are trying to open the class diagram from both the projects, only one of 
class diagram is being displayed. ie. The diagram from second project is trying to refer to already opened diagram. 
(may be due to same name for class diagrams).

But the things are working fine if the project names are different.

Rgds
sojin.v@gmail.com