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

Bug 323807

Summary: Relation attribute is not visualized
Product: [WebTools] Dali JPA Tools Reporter: Petya Sabeva <petya.sabeva>
Component: Diagram EditorAssignee: Petya Sabeva <petya.sabeva>
Status: RESOLVED FIXED QA Contact: Stefan Dimov <stefan.dimov>
Severity: normal    
Priority: P3 CC: petya.sabeva
Version: 0.5   
Target Milestone: 0.5 RC2   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
patch
none
patch
none
patch stefan.dimov: iplog+

Description Petya Sabeva CLA 2010-08-27 07:04:21 EDT
Build Identifier: 20100617-1415

1. Create one JPA 1.0 project.
2. Open JPA Diagram Editor and create two entities.
3. Create one Many-to-One unidirectional relationship.
4. Rename the inverse entity. /the relation attribute should be renamed too(automatically)/.
5. Delete the relation attribute from the owner entity.
6. Create new Many-to-One unidirectional relationship.
7. The relation attribute is not shown in the "Relation Attributes" section of the owner entity.

Reproducible: Always
Comment 1 Petya Sabeva CLA 2010-08-27 07:06:29 EDT
Created attachment 177605 [details]
patch
Comment 2 Stefan Dimov CLA 2010-09-01 04:43:10 EDT
The patch is not compatible with the current version in head ...
Comment 3 Petya Sabeva CLA 2010-09-01 04:53:09 EDT
Created attachment 177922 [details]
patch

Patch is updated.
Comment 4 Stefan Dimov CLA 2010-09-08 03:58:55 EDT
The second version is still not compatible with the HEAD ...
Comment 5 Petya Sabeva CLA 2010-09-10 06:03:35 EDT
Created attachment 178601 [details]
patch

Please try this patch. It should works when you delete the attribute from the source code of the entity...
Comment 6 Stefan Dimov CLA 2010-09-10 08:33:42 EDT
The patch is committed ...