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

Bug 322399

Summary: Entity is corrupted if it doesn't contain any attributes
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    
Version: 0.5   
Target Milestone: 0.5 RC1   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
patch stefan.dimov: iplog+, stefan.dimov: review+

Description Petya Sabeva CLA 2010-08-11 11:52:49 EDT
Build Identifier: 20100617-1415

If entity does not contain any attributes it is corrupted and cannot be moved, resized or edited at all.

Reproducible: Always

Steps to Reproduce:
1. Create new JPA project.
2. Open the JPA Diagram Editor.
3. With drag and drop create new Entity from the palette.
4. Select the created entity and delete its default primary key attribute.
5. Save changes and close diagram.
6. Open diagram again and try to do something with this entity.
Comment 1 Petya Sabeva CLA 2010-08-11 11:53:17 EDT
Created attachment 176373 [details]
patch
Comment 2 Stefan Dimov CLA 2010-08-12 07:07:06 EDT
The patch is committed.