This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 241835 - Hibernate-configuration file cannot be opened in editor - it will always be opened in design view
Summary: Hibernate-configuration file cannot be opened in editor - it will always be o...
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-13 16:24 UTC by markiewb
Modified: 2016-07-07 08:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
shows the issue (141.38 KB, image/png)
2014-02-13 16:24 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2014-02-13 16:24:01 UTC
Created attachment 145159 [details]
shows the issue

* right click on a hibernate configuration file

ACTUAL: 
both actions Open/Edit open the design view - see screenshot. There is no workaround. I have to edit the file outside of NetBeans. 

EXPECTED: 
Open -> Design view
Edit -> XML editor

FYI: The file header is

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration
PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

<hibernate-configuration>

Product Version: NetBeans IDE Dev (Build 201402110001)
Updates: Updates available
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
Comment 1 markiewb 2014-02-13 16:25:44 UTC
Correction: There is a workaround. I can switch to source view via the tabs in the editor toolbar
Comment 2 Martin Balin 2016-07-07 08:53:42 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss