Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 275748

Summary: [ui] ensure that cached repo refs are cleared on refresh
Product: [Eclipse Project] Equinox Reporter: Susan McCourt <susan>
Component: p2Assignee: Susan McCourt <susan>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: henrik.lindberg, irbull
Version: 3.5   
Target Milestone: 3.5 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Susan McCourt CLA 2009-05-11 20:05:02 EDT
On IRC tonight, there was some discussion that there seems to be stale repo info lying around until restart.

This made me wonder if we are clearing cached repo references everywhere that we need to in the UI.

For example, QueryableRepositoryManager keeps a map of loaded repos so that the repo manager soft references don't go away.  But when we refresh a repo using "Test Connection" on the repo pref page while the install wizard is open, the QueryableRepositoryManager will still be holding onto the old references.  Not sure if this impacts us or not....need to check it out.
Comment 1 Susan McCourt CLA 2009-05-11 20:05:43 EDT
marking RC1 for investigation, it's not clear yet if there's anything to fix.
Comment 2 Susan McCourt CLA 2009-05-13 14:58:45 EDT
While working on bug 274334, I did find a place where a cached repo was being used in lieu of getting it from the metadata repository manager.  

Since the changes are in the same class as those required for bug 274334, I'm marking this as a dup and will include this correction in that bug.



*** This bug has been marked as a duplicate of bug 274334 ***