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 216932 - inform user when plugin is disabled or its version is outdated
Summary: inform user when plugin is disabled or its version is outdated
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-15 22:34 UTC by John Jullion-ceccarelli
Modified: 2012-09-03 12:51 UTC (History)
1 user (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 John Jullion-ceccarelli 2012-08-15 22:34:57 UTC
Product Version: NetBeans IDE Dev (Build EaselCSS-499-on-20120815)
Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)

Every time I run in Chrome it shows the dialog box prompting me to install the plugin, even though it's already installed.
Comment 1 Petr Jiricka 2012-08-16 08:29:26 UTC
I personally can not reproduce, but if it indeed happens, then it needs to be fixed.
Comment 2 Petr Jiricka 2012-08-16 08:32:03 UTC
Could this be related to the space in path aspect of bug 215635 ?
Comment 3 Denis Anisimov 2012-08-16 10:08:51 UTC
(In reply to comment #2)
> Could this be related to the space in path aspect of bug 215635 ?

I don't think so.
Spaces in path would have been incorrectly handled in provided URL ( by browser ).
But dialog is displayed based on plugin information where spaces in path 
shouldn't be an issue.

The installation dialog shows in the result of number checks:
- plugin version is old ( IDE has newer plugin version )
- plugin is disabled
- plugin is not installed 

Probably items 1) or 2) is a source of the issue.

I've checked the issue against my Win 7 system.
It works correct.
Could you please check what version of the plugin you have installed ?
Comment 4 Petr Jiricka 2012-08-16 11:18:13 UTC
Ok, I can now reproduce reliably - happend when an outdated version of the plugin is installed. E.g. after I switched from Easel build #504 to #507, this dialog kept appearing as the version of the plugin changed between these two builds. The workaround is to uninstall the plugin and install a newer version.

I am changing priority to P2 since a workaround exists, but this should still be fixed soon.
Comment 5 Denis Anisimov 2012-08-16 12:23:02 UTC
(In reply to comment #4)
> Ok, I can now reproduce reliably - happend when an outdated version of the
> plugin is installed. E.g. after I switched from Easel build #504 to #507, this
> dialog kept appearing as the version of the plugin changed between these two
> builds. The workaround is to uninstall the plugin and install a newer version.
> 
> I am changing priority to P2 since a workaround exists, but this should still
> be fixed soon.

Sorry Petr, why this is workaround ?
This is exactly the solution.

Dialog is correctly displayed because of old plugin version.
The only thing which is meaningful here is additional informational message
to inform about outdated version. But still user has to reinstall the plugin.

So I suppose this is P3 and description should be changed to smth like "inform the user when its plugin requires update".
Comment 6 Petr Jiricka 2012-08-16 12:51:49 UTC
I agree. Let's just change the wording in the dialog in case the plugin is outdated.
Comment 7 Denis Anisimov 2012-08-20 14:11:26 UTC
web-main#a7f7e44b1bb6
Comment 8 Quality Engineering 2012-09-03 12:51:09 UTC
Integrated into 'main-golden', will be available in build *201209031048* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a7f7e44b1bb6
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#216932 - inform user when plugin is disabled or its version is outdated