Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346467 - [client] Search is broken
Summary: [client] Search is broken
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: 0.2   Edit
Assignee: Simon Kaegi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 11:06 EDT by Szymon Brandys CLA
Modified: 2011-09-01 11:42 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 Szymon Brandys CLA 2011-05-19 11:06:35 EDT
Search is broken. When I try to use it I get:

HTTP ERROR 400

Problem accessing /search/search.html. Reason:

    BAD_REQUEST

Powered by Jetty://

John saw the same.
Comment 1 John Arthorne CLA 2011-05-19 11:12:31 EDT
The path probably collides with the help search servlet.
Comment 2 John Arthorne CLA 2011-05-19 11:13:03 EDT
I used "filesearch" for the servlet - this distinguishes it from another kind of search (like help search).
Comment 3 Simon Kaegi CLA 2011-05-19 11:18:49 EDT
I think the idea of registering our own help resource extensions is sounding better and better.
Comment 4 Simon Kaegi CLA 2011-05-20 11:48:47 EDT
This is now fixed so all of help is located under /help. What we're doing is registering another HttpService under /help using the HttpServiceServlet and providing it with the appropriate "other.info" to support help.

I've also added an orion filter to prevent us from registering our various resources into services that don't match the filter  (other.info=org.eclipse.orion)