Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353555 - Inconsistent diagram name
Summary: Inconsistent diagram name
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: Diagram Editor (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0.1   Edit
Assignee: Stefan Dimov CLA
QA Contact: Stefan Dimov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-02 06:06 EDT by Stefan Dimov CLA
Modified: 2011-08-12 10:01 EDT (History)
1 user (show)

See Also:
stefan.dimov: review+


Attachments
Fix for HEAD (7.44 KB, patch)
2011-08-02 06:26 EDT, Stefan Dimov CLA
stefan.dimov: review+
Details | Diff
Fix for maintenance release branch (2.91 KB, patch)
2011-08-02 06:38 EDT, Stefan Dimov CLA
stefan.dimov: review+
Details | Diff
Test for HEAD (5.41 KB, patch)
2011-08-04 09:49 EDT, Stefan Dimov CLA
no flags Details | Diff
Test for R3_0_maintenance (4.47 KB, patch)
2011-08-04 09:50 EDT, Stefan Dimov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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