Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323767 - With active JPA Diagram editor, we cannot open persistence.xml from project explorer
Summary: With active JPA Diagram editor, we cannot open persistence.xml from project e...
Status: CLOSED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: Diagram Editor (show other bugs)
Version: 0.5   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 0.5 RC2   Edit
Assignee: Petya Sabeva CLA
QA Contact: Stefan Dimov CLA
URL:
Whiteboard:
Keywords:
: 323892 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-26 19:33 EDT by Ram Venkataswamy CLA
Modified: 2011-01-17 07:47 EST (History)
2 users (show)

See Also:


Attachments
patch (1.09 KB, patch)
2010-08-31 07:20 EDT, Petya Sabeva CLA
stefan.dimov: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ram Venkataswamy CLA 2010-08-26 19:33:21 EDT
Build Identifier: M20100818-0800

With active JPA Diagram editor, we cannot open persistence.xml from project explorer

Reproducible: Always

Steps to Reproduce:
- Create/open a JPA project

NOTE: Make sure the JPA diagram is closed to verify the proper behavior of "Open"

- In Project Explorer | JPA Content | right click on > Persistence.xml and select "Open"

At this point, the persistence.xml editor comes up fine.

- now close persistence.xml editor

- In Project explorer, right click on persistence.xml  / entity > "Open Diagram"

JPA Diagram editor comes up.

- Now, on project explorer, right click on persistence.xml > "Open"

Error opening editor - "Compilation unit name must end with .java or one of the registered java-like extension." 

Workaround: close JPA Diagram
Comment 1 Petya Sabeva CLA 2010-08-31 07:20:51 EDT
Created attachment 177823 [details]
patch
Comment 2 Stefan Dimov CLA 2010-08-31 10:44:45 EDT
Patch committed ...
Comment 3 Ram Venkataswamy CLA 2010-09-01 14:30:37 EDT
verified with latest build
Comment 4 Stefan Dimov CLA 2010-09-02 04:09:24 EDT
Closin' the bug ...
Comment 5 Stefan Dimov CLA 2010-09-10 04:22:00 EDT
*** Bug 323892 has been marked as a duplicate of this bug. ***