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 218709 - "Untrusted connection" warning when clicking to view Glassfish license
Summary: "Untrusted connection" warning when clicking to view Glassfish license
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.2
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 16:04 UTC by Patrick Keegan
Modified: 2012-09-24 09:28 UTC (History)
4 users (show)

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 Patrick Keegan 2012-09-20 16:04:07 UTC
0. Start with a build where the Java EE feature has not yet been enabled and GlassFish has not yet been registered.
1. Use the New wizard to create a new Java EE app.
2. When it asks you to specify an app server, choose GlassFish.
3. In the panel that asks you to agree with the GlassFish license, click the link to view the license.

The link points to https://glassfish.dev.java.net/public/CDDL+GPL.html which Firefox registers as an untrusted connection.

Even if this is a problem on the GF side, it looks really bad for NB to point to such a link.
Comment 1 Jiri Skrivanek 2012-09-21 07:12:28 UTC
Probably duplicate of 214026. The following works without problems http://glassfish.java.net/public/CDDL+GPL.html.
Comment 2 TomasKraus 2012-09-21 15:05:37 UTC
nb:/users/tomas/WS/nbTRUNK/glassfish.common> find ./ -name '*.java' -exec grep -Hn 'CDDL+GPL.html' {} \;
./src/org/netbeans/modules/glassfish/common/wizards/AddServerLocationVisualPanel.java:410:                    new URL("https://glassfish.dev.java.net/public/CDDL+GPL.html")); //NOI18N

OK, here is the problem. :)
Comment 3 TomasKraus 2012-09-21 15:12:16 UTC
NetBeans web-main:
------------------
changeset:   234086:f3979ec3a360
summary:     #218709 - License link updated.

I would like to put this also into releases/release73_beta after being tested.
Comment 4 Petr Jiricka 2012-09-21 16:51:46 UTC
Ok, let's change to P1 then.
Comment 5 Quality Engineering 2012-09-22 02:15:30 UTC
Integrated into 'main-golden', will be available in build *201209220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f3979ec3a360
User: Tomas Kraus <TomasKraus@netbeans.org>
Log: #218709 - License link updated.
Comment 6 Jiri Skrivanek 2012-09-22 07:22:25 UTC
Verified in NetBeans IDE Dev (Build 201209220001). Please, transplant to beta branch.
Comment 7 Marian Mirilovic 2012-09-22 09:49:24 UTC
SO, please integrate the fix also into releases/release73_beta branch ASAP. Thanks in advance.
Comment 8 Petr Jiricka 2012-09-22 21:31:54 UTC
Transplanted to beta:
http://hg.netbeans.org/releases/rev/e18a5627d802