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 241611 - Maven repo browser: javadoc/sources badges are not shown when downloaded from remote repo
Summary: Maven repo browser: javadoc/sources badges are not shown when downloaded from...
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-09 21:21 UTC by markiewb
Modified: 2016-07-07 08:38 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 markiewb 2014-02-09 21:21:27 UTC
http://services.netbeans.org/synergy/client/app/#/case/3893/suite/1491/v/1

* start with a clean user dir
* open maven repo browser
* go to c3p0:c3p0:0.9.1.2 node in the central repo (or another artifact which has sources/javadoc)
* right click and choose "download" -> the lib is now available in local repo (check it in the repo browser)
* right click and choose "download sources" -> the lib is still available in local repo (check it in the repo browser), but there is NO sources badge at its icon
* right click and choose "download javadoc" -> the lib is still available in local repo (check it in the repo browser), but there is NO javadoc badge at its icon

EXPECTED: badges in local repo should be updated after the "download sources/javadoc" actions

Product Version: NetBeans IDE Dev (Build 201402090001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b127
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 Milos Kleint 2014-02-12 11:42:32 UTC
the source/javadoc badge in this case is exclusively based on the index content, thus I assume a re-index would  cause the badges to appear.

The issue is more complicated by the fact that the remote repo node is triggering the downloads, but the local repo node is expected to change icons.

P4, minor ui glitch, without any functional regressions that eventually fixes itself after reindex. Continuous checking for file existence in getIcon could introduce a slowness bottleneck (as far as exception reporter is involved)
Comment 2 Martin Balin 2016-07-07 08:38:35 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss