Bug 349137 - [ui] Provide Enable option when attempting to add existing update site
Summary: [ui] Provide Enable option when attempting to add existing update site
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Matthew Piggott CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted, usability
Depends on:
Blocks:
 
Reported: 2011-06-12 00:54 EDT by Miles Parker CLA
Modified: 2020-02-19 03:49 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miles Parker CLA 2011-06-12 00:54:01 EDT
Currently, when you attempt to add a new URL for an update site that already exists but is disabled, the input is simply rejected. This is awkward because the user must then manually navigate to existing websites find that website and then add it. And it could be a real source of confusion for users unfamiliar with the P2 interface as the implication of having a website already existing is that that website would actually be searchable. 

Suggest that if user enters a URL for a website that exists but is disabled, the user is prompted to enable, e.g.:

"That site already exists, would you like to enable it?"

Related to Bug 325647
Comment 1 Ian Bull CLA 2012-06-11 14:51:40 EDT
Matt, this is assigned to you.  If you intend to work on it, great! If not, then feel free to dump it back in the inbox (it already has a helpwanted tag).
Comment 2 Robert Roth CLA 2016-04-20 09:17:17 EDT
I have tried to reproduce, but on Eclipse 4.6M6 if trying to add the url of a disabled repository, the repository is automatically enabled. I would say this is a better solution, as if you are trying to add an URL for an update site, it is probably because you want to use it, and you want it enabled, so there's no need to show a dialog, ask, and wait for a response. What do you think?
Comment 3 Ed Merks CLA 2020-02-19 03:49:42 EST
I'll assume this issue is resolved.