Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342879 - composite children prevent explicit repo addition
Summary: composite children prevent explicit repo addition
Status: CLOSED DUPLICATE of bug 338495
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-14 14:49 EDT by Jeff McAffer CLA
Modified: 2011-04-14 14:51 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff McAffer CLA 2011-04-14 14:49:41 EDT
if you add a composite repo that has children (say A and B) then users are not able to explicitly add A or B to the list of repos.  The UI reports "duplicate location" errors.  However, A and B are marked as "system" so they are not shown in the UI.  From the users point of view they can't add the repo and cannot pick it so as to choose contents from it.

On the one hand this is cool since we don't want people seeing the things under composites but on the other, a random person can create a composite that happens to include repo A and, depending on the order of addtion, effectively prevent users from seeing repo A.

one possibility is a tweak to the UI such that when a user goes to add a repo and it is already there but "system" then simply "add" it by making it non-system.  Care would need to be taken such that if the users subsequently removed the repo it would be "re-added" as a system repo in its role as a child of some composite.
Comment 1 DJ Houghton CLA 2011-04-14 14:51:47 EDT

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