Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353555

Summary: Inconsistent diagram name
Product: [WebTools] Dali JPA Tools Reporter: Stefan Dimov <stefan.dimov>
Component: Diagram EditorAssignee: Stefan Dimov <stefan.dimov>
Status: VERIFIED FIXED QA Contact: Stefan Dimov <stefan.dimov>
Severity: normal    
Priority: P3 CC: jolene.moffitt
Version: 3.0Flags: stefan.dimov: review+
Target Milestone: 3.0.1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Fix for HEAD
stefan.dimov: review+
Fix for maintenance release branch
stefan.dimov: review+
Test for HEAD
none
Test for R3_0_maintenance none

Description Stefan Dimov CLA 2011-08-02 06:06:31 EDT
There is a bug in the editor, such that if the user creates a JPA project and renames the persistence unit to have different name from the JPA project and try to open diagram the diagram cannot be created, because there are check inconsistencies - in some places of the code the diagram names is expected to be the same as the project name and in other - same as the PU name. According to the present concept the diagram name is supposed to be the same as the project name.
Comment 1 Stefan Dimov CLA 2011-08-02 06:26:50 EDT
Created attachment 200696 [details]
Fix for HEAD
Comment 2 Stefan Dimov CLA 2011-08-02 06:38:58 EDT
Created attachment 200698 [details]
Fix for maintenance release branch
Comment 3 Stefan Dimov CLA 2011-08-02 06:51:30 EDT
Patches submitted to HEAD and R3_0_maintenance
Comment 4 Stefan Dimov CLA 2011-08-04 09:49:57 EDT
Created attachment 200915 [details]
Test for HEAD
Comment 5 Stefan Dimov CLA 2011-08-04 09:50:45 EDT
Created attachment 200916 [details]
Test for R3_0_maintenance
Comment 6 Stefan Dimov CLA 2011-08-04 09:51:29 EDT
Test patches submitted to HEAD and to R3_0_maintenance branches
Comment 7 Jolene Moffitt CLA 2011-08-12 10:01:35 EDT
Verified in Build I-3.4.0-20110805150738 

Verified diagram name is the name of the project not the name of the persistence.  See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0.1