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

Bug 335904

Summary: [server] Folder names containing spaces break file metadata API
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tomasz.zarna
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Error stack trace from server none

Description Mark Macdonald CLA 2011-01-31 16:21:34 EST
Using Orion 0.2 M5 candidate I201101311515

1. Log into the Orion web UI
2. Create a folder with a space in its name (eg. "foo bar"), and create a file "test.txt" inside the folder.
3. Open test.txt in the Orion editor.
4. In Firebug, you'll see GET test.txt?parts=meta returns error 500.
Comment 1 Mark Macdonald CLA 2011-01-31 16:22:39 EST
Created attachment 188010 [details]
Error stack trace from server
Comment 2 John Arthorne CLA 2011-01-31 16:30:53 EST
Notes: I still seem to be able to edit the file, and the problem doesn't seem to occur with project names.. only folder names.
Comment 3 John Arthorne CLA 2011-02-08 14:13:21 EST
Fix released. Regression test in CoreFilesTest#testDirectoryWithSpaces.