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 - Refresh providers doesn't do complete refresh of items
Summary: Refresh providers doesn't do complete refresh of items
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: PC All
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks: 89627
  Show dependency tree
 
Reported: 2007-04-01 16:54 UTC by Jiri Rechtacek
Modified: 2007-04-10 10:35 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 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