Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335904 - [server] Folder names containing spaces break file metadata API
Summary: [server] Folder names containing spaces break file metadata API
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-31 16:21 EST by Mark Macdonald CLA
Modified: 2011-09-01 11:42 EDT (History)
1 user (show)

See Also:


Attachments
Error stack trace from server (11.48 KB, text/html)
2011-01-31 16:22 EST, Mark Macdonald CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.