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 244462 - 3 C++ plug-ins in Installed and Updates tab
Summary: 3 C++ plug-ins in Installed and Updates tab
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-13 12:21 UTC by soldatov
Modified: 2014-07-28 05:22 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (70.78 KB, image/png)
2014-05-13 12:21 UTC, soldatov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2014-05-13 12:21:42 UTC
Created attachment 147244 [details]
screenshot

Now I see 3 C++ plug-ins in Installed and Updates tab.
Comment 1 Alexander Simon 2014-05-13 12:48:26 UTC
C/C++ Code Analysis API and C/C++ Code Analysis Impl:
- belong to CND cluster
- have Display Category C/C++
- Show in Plugin Manager check boxes are unselected

Reassign to evaluation.
Comment 2 Jiri Kovalsky 2014-05-13 13:09:36 UTC
Excuse me but what is the buggy behaviour here?
Comment 3 soldatov 2014-05-13 13:29:09 UTC
(In reply to Jiri Kovalsky from comment #2)
> Excuse me but what is the buggy behaviour here?
"* API" or "* Impl" can't be valid subcomponent names. For example user expect "C/C++ Debugger" or "C/C++ Code Analyzer" components. But what is "switch off Code Analysis API"?
Comment 4 Jiri Kovalsky 2014-05-15 11:10:22 UTC
In my opinion both modules should be hidden by default:

<manifest AutoUpdate-Show-In-Client="false"

In project properties, select "Display" category and uncheck "Show in Plugin Manager" option.
Comment 5 Jiri Kovalsky 2014-05-15 11:13:30 UTC
Plus obviously turn this on for those modules that should be visible like <module codenamebase="org.netbeans.modules.cnd.completion" etc.
Comment 6 Alexander Simon 2014-05-15 19:17:08 UTC
(In reply to Jiri Kovalsky from comment #4)
> In my opinion both modules should be hidden by default:
> 
> <manifest AutoUpdate-Show-In-Client="false"
> 
> In project properties, select "Display" category and uncheck "Show in Plugin
> Manager" option.

"Display" category HAS an unchecked "Show in Plugin Manager" check box.
Indeed the file manifest.mf does not have line:
AutoUpdate-Show-In-Client:
It must be interpreted as:
AutoUpdate-Show-In-Client:false
Comment 7 Jiri Kovalsky 2014-05-19 09:32:08 UTC
Confirmed. This is a bug in generic Projects UI since the default behavior is incorrect. If user does not touch the "Show in Plugin Manager" option, the AutoUpdate-Show-In-Client property is not added into manifest.mf file and this is interpreted as AutoUpdate-Show-In-Client:true which is obviously wrong. Reassigning to projects product.

CND guys, for all modules to be hidden please check the "Show in Plugin Manager" option, confirm the dialog and then invoke project "Properties" again, uncheck the option and confirm the dialog once more. This will finally leave AutoUpdate-Show-In-Client:false in the manifest, which will then generate correct Info/info.xml descriptor when building NBM.
Comment 8 Alexander Simon 2014-05-19 11:08:51 UTC
(In reply to Jiri Kovalsky from comment #7)
> CND guys, for all modules to be hidden please check the "Show in Plugin
> Manager" option, confirm the dialog and then invoke project "Properties"
> again, uncheck the option and confirm the dialog once more. This will
> finally leave AutoUpdate-Show-In-Client:false in the manifest, which will
> then generate correct Info/info.xml descriptor when building NBM.
Fixed in change set:
http://hg.netbeans.org/cnd-main/rev/e02a5a336dbb
Comment 9 Quality Engineering 2014-05-30 02:23:11 UTC
Integrated into 'main-silver', will be available in build *201405300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e02a5a336dbb
User: Alexander Simon <alexvsimon@netbeans.org>
Log: work around Bug #244462 3 C++ plug-ins in Installed and Updates tab
- add explicit "AutoUpdate-Show-In-Client" property in CND modules
Comment 10 Quality Engineering 2014-06-04 15:28:03 UTC
Integrated into 'releases/release80', will be available in build *201406041415* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/f5fa1046a6c4
User: Alexander Simon <alexvsimon@netbeans.org>
Log: work around Bug #244462 3 C++ plug-ins in Installed and Updates tab
- add explicit "AutoUpdate-Show-In-Client" property in CND modules
(transplanted from e02a5a336dbb4dd293aa2f0befadd8449007ceff)
Comment 11 Martin Kozeny 2014-07-24 11:30:31 UTC
When generating module, AutoUpdate-Show-In-Client in manifest.mf is set to true.
Fix: https://hg.netbeans.org/core-main/rev/e6b28011dee6
Comment 12 Quality Engineering 2014-07-28 05:22:55 UTC
Integrated into 'main-silver', will be available in build *201407280405* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e6b28011dee6
User: Martin Kozeny <mkozeny@netbeans.org>
Log: #244462: 3 C++ plug-ins in Installed and Updates tab.