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

Bug 360239

Summary: "Search" box doesn't work on landing page
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Simon Kaegi <simon_kaegi>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: libingw, simon_kaegi
Version: 0.3   
Target Milestone: 0.3 RC1   
Hardware: PC   
OS: All   
Whiteboard:

Description Mark Macdonald CLA 2011-10-07 10:20:46 EDT
Orion 0.3 0.2.0.v20111006-2105

1. Log into orion.eclipse.org. You'll be on the Welcome page.
2. Type "var" into the search box, press Enter.
3. You'll be taken to http://orion.eclipse.org/search/search.html#filesearch?q=var
and see an error:
> Error: Unable to load filesearch?q=var status:404
4. While still on the search page, Repeat Step 2.
5. This time, you end up at http://orion.eclipse.org/search/search.html#../filesearch?q=var and the search works.
Comment 1 Susan McCourt CLA 2011-10-07 11:01:48 EDT
It doesn't work from the landing page, but it does work from other (non search) pages such as navigator and clones page, in fact the landing page seems to be the only broken one.

When it works, the URL is
http://orion.eclipse.org/search/search.html#../filesearch?q=var

When it fails from the landing page, the URL is
http://orion.eclipse.org/search/search.html#filesearch?q=var
Comment 2 Simon Kaegi CLA 2011-10-07 11:16:23 EDT
Ok I think I understand the problem. When generating the "filesearch" portion of the search URI we actually want to be relative to search.html instead of relative to the current page.