Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 376791 - Bad directory listing after using "View on site" on a folder
Summary: Bad directory listing after using "View on site" on a folder
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.5   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 0.5 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-13 17:33 EDT by Mark Macdonald CLA
Modified: 2012-04-16 09:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2012-04-13 17:33:26 EDT
1. Go to the Navigator, bring up the actions menu on a folder.
2. Click View on Site > New Site.
3. A new site is launched for the folder. You'll be taken to the new site, and you'll see a directory listing showing the contents of the folder.

This directory listing looks normal, but all the links are wrong (they're missing the parent segment).

The file servlet appears to generate a bad directory listing if you omit the trailing slash on a directory resource.
For example:
  http://orion.eclipse.org/file/Fz  -- bad directory listing
  http://orion.eclipse.org/file/Fz/ -- OK

In the context of View on Site, this is really confusing -- it makes it seem like your site is broken.
Comment 1 Mark Macdonald CLA 2012-04-16 09:42:19 EDT
Fixed with commit 8999bcc29dd7e76b1f253a9f6726ead56e7aa32a