Bug 248989 - [ui] need to respond to new repo ENABLEMENT event
Summary: [ui] need to respond to new repo ENABLEMENT event
Status: VERIFIED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M3   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 241307
Blocks:
  Show dependency tree
 
Reported: 2008-09-29 13:46 EDT by Susan McCourt CLA
Modified: 2008-10-29 15:50 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Susan McCourt CLA 2008-09-29 13:46:45 EDT
The fix for bug #241307 includes sending a repository ENABLED event.
The UI needs to handle this simarly to an ADD event - so that it refreshes the list of shown repositories when a repo gets enabled.
Comment 1 Susan McCourt CLA 2008-09-29 13:48:07 EDT
marking M3
Comment 2 Susan McCourt CLA 2008-10-14 18:00:16 EDT
Fixed in HEAD >20081014.

Given the fact that I can't currently distinguish between system and non-system repos in the RepositoryEvent, and the fact that the repo manager often adds things as enabled first, then potentially disables, etc...I was nervous about handling the ENABLEMENT event in a generic way.

It seemed best at this point to generate my own event whenever the user adds and removes a repo, and only respond to the user-generated event.  This way I'll ignore any side-effect adds/removes/disables that occur in the process of a user adding a repo.
Comment 3 Susan McCourt CLA 2008-10-29 15:50:57 EDT
Verified in WinXP, Build id: I20081029-0100
If you disable Ganymede, and then add it, it will appear again in the available software list.