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 227319 - operation "find" is disabled in orm.xml
Summary: operation "find" is disabled in orm.xml
Status: RESOLVED DUPLICATE of bug 225145
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-11 20:47 UTC by vladperl
Modified: 2013-07-04 05:35 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (500.73 KB, text/plain)
2013-03-11 20:47 UTC, vladperl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vladperl 2013-03-11 20:47:44 UTC
For xml files located under folder src/META-INF operation "Find" is disabled.

In case to reproduce the issue try to create file with the following content:
------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_1_0.xsd"
                 version="1.0">
   <persistence-unit-metadata>
      <persistence-unit-defaults>
         <access>FIELD</access>
      </persistence-unit-defaults>
   </persistence-unit-metadata>
</entity-mappings>

------------------------------------------------------------------------------------------------
Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_15
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Comment 1 vladperl 2013-03-11 20:47:55 UTC
Created attachment 132477 [details]
IDE log
Comment 2 Milutin Kristofic 2013-03-12 10:44:45 UTC
I don't know what editor is using java ee for orm.xml. Javaee team can you please evaluate this issue?
Comment 3 David Konecny 2013-07-04 01:42:36 UTC
It's a regular XML editor I think. Sergey is that right? The Find action is enabled in top level menu in Web Project but not in J2SE project. I'm not sure what Find action needs to gets enabled.
Comment 4 Sergey Petrov 2013-07-04 05:35:04 UTC
yes, seems unrelated with ee/persistence, also there is another issue filed for ee/persistence category but I will move now.

*** This bug has been marked as a duplicate of bug 225145 ***