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

Bug 469319

Summary: [sites] Sites explorer showing two site configurations
Product: [ECD] Orion Reporter: Curtis Windatt <curtis.windatt.public>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: Carolyn_MacLeod, Silenio_Quarti
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Screenshot none

Description Curtis Windatt CLA 2015-06-03 14:15:29 EDT
Created attachment 254091 [details]
Screenshot

Both named Orion sites at orion.eclipse.org.  Only one has my sites, the other is empty.  See screenshot.
Comment 1 Carolyn MacLeod CLA 2015-06-10 11:25:31 EDT
It's ok to have multiple site configurations:
https://wiki.eclipse.org/Orion/Documentation/User_Guide/Reference/Sites_page

I am not sure what the bug is? Is it because one site is empty? I can create an empty site by clicking on Create and typing a name. Perhaps you did something like this when you were setting up your other site?

Did you delete the empty one?
Comment 2 Silenio Quarti CLA 2015-06-15 14:30:48 EDT
Curtis, I believe this happened because the the sites plugin was merged with other plugins, but you are still loading the old separate plugin. 

localStorage.clear() should fix the problem for you.
Comment 3 Curtis Windatt CLA 2015-06-15 15:33:45 EDT
Yes, this was another side effect of the plugin merging.  I saw it happening on a few other machines last week.  Closing as WORKSFORME.

Car, the 'Orion sites at...' are categories of sites.  If there is only one category we don't create the outer box at all.  The bug was why a second category (empty) was available.  We could change the code to check if there is at least one site in the category before showing the categories box, but that seems overkill.  The user guide is obviously quite out of date.
Comment 4 Carolyn MacLeod CLA 2015-06-16 10:11:55 EDT
Thanks for the explanation, Curtis. I somehow didn't notice the extra "Orion Sites at client.orion.eclipse.org" category in your screen snap. I guess I was just focused on the 2 sites. (I also didn't even notice the box because the light grey lines are so light...)

Does either of you have an interesting multi-category, multi-sites-per-category "Sites" page? If so, could you please send me a screen snapshot, and I will use it to update the doc. (If not, let me know, and I will ask around).