| Summary: | Calling fileClient#search with a resource of empty string throws exception | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | Node | Assignee: | Silenio Quarti <Silenio_Quarti> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Silenio_Quarti |
| Version: | 12.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
I have reverted this change, since it breaks file search with a project scope. |
If you make a call to fileClient#search like: .search( { 'resource': '', 'keyword': 'deps1', 'sort': 'Name asc', //$NON-NLS-1$ 'nameSearch': true, 'fileType':'js, 'start': 0, 'rows': 30 } ) the following is reported in the console: xhr.js:175 GET http://mrennie-target.orion.eclipse.org:9000/filesearch?sort=Name%20asc&rows=30&start=0&q=NameLower:deps1*+Location:* 500 (ENOENT: no such file or directory, scandir '/localdata/orion.eclipse.org/serverworkspace/mr/mrennie/OrionContent*/') This was fixed in the Java server in bug 486516