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

Summary: Unexpected behavior while working with two UML project with same name but in different directory.
Product: uml Reporter: soj_in <soj_in>
Component: General DiagramAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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