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 207714 - Missing Resolve Data Source Problem action
Summary: Missing Resolve Data Source Problem action
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 7.2
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-25 12:34 UTC by Jiri Skrivanek
Modified: 2012-04-04 12:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2012-01-25 12:34:37 UTC
I found out that brokenDataSourceActionFactory.instance is commented out in j2ee.earproject\src\org\netbeans\modules\j2ee\earproject\ui\resources\layer.xml and that's why there is missing "Resolve Data Source Problem" action on EAR project node if data source is broken. It is confusing because in that case project icon has yellow warning badge and project name is red but you can't find any particular reason why. To reproduce:

- register GlassFish 3.1.2 server to IDE
- open new project wizard
- choose "Samples|Java EE|Application Scoped Resources sample in GlassFish"
- finish the wizard. EAR icon is badged, project name is red and "Resolve..." action is missing.

Product Version: NetBeans IDE Dev (Build 201201230600)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Comment 1 David Konecny 2012-01-25 22:03:33 UTC
Thanks for catching this Jirka. I had no idea that a data source can be EAR scoped.
Comment 2 David Konecny 2012-04-03 01:47:52 UTC
I uncommented the action but could not verify the fix as Sample project is never annotated as broken for me.
474773ded741
Comment 3 Quality Engineering 2012-04-04 10:11:27 UTC
Integrated into 'main-golden', will be available in build *201204040400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/474773ded741
User: David Konecny <dkonecny@netbeans.org>
Log: #207714 - Missing Resolve Data Source Problem action
Comment 4 Jiri Skrivanek 2012-04-04 12:24:49 UTC
Verified. It is broken if you remove sample connection node.