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 99624

Summary: Refresh providers doesn't do complete refresh of items
Product: platform Reporter: Jiri Rechtacek <jrechtacek>
Component: AutoupdateAssignee: rmatous <rmatous>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 89627    

Description Jiri Rechtacek 2007-04-01 16:54:44 UTC
UpdateUnitProviderFactory.getDefault ().refreshProviders() reads new content of
providers but returns same instances of UpdateUnit before and after refresh. Its
attributes like needsRestart returns wrong values. Check RefreshItemsTest.
Comment 1 Jiri Rechtacek 2007-04-01 16:56:44 UTC
Checking in api/autoupdate/RefreshItemsTest.java;
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/api/autoupdate/Attic/RefreshItemsTest.java,v
 <--  RefreshItemsTest.java
new revision: 1.1.2.1; previous revision: 1.1
done
Comment 2 rmatous 2007-04-10 10:35:27 UTC
Fixed, just wrong test - RefreshItemsTest.java 1.1.2.3