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

Bug 392182

Summary: [sites] Weird changing of path labels on the edit-site page
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2012-10-17 10:44:27 EDT
Assume you have a project named MyProject in your workspace containing a subfolder MyFolder.

1. Create a new site; go to the edit-site page
2. Use the Add > Choose Folder button to choose MyProject > MyFolder.
The folder path appears as "MyFolder", rather than /MyProject/MyFolder, which is what we used to show before bug 343264 was fixed.
3. Save the site. This causes the folder path to change to something like:
 /X/MyProject/MyFolder

Which is creepy. It remains in that form the next time you load the edit-site page.

In light of the new URL format for projects, I'm not even sure it makes sense to rewrite the paths as this page has done in the past -- maybe we should stick with the same format that's shown in the browser's address bar when you're viewing the raw file -- in other words, decode URLencoded characters like %20 into their displayable counterparts, but do nothing else.

In any case the editor should be consistent in what it displays here.
Comment 1 John Arthorne CLA 2015-05-05 14:46:24 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html