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

Bug 381386

Summary: [sites] Can't create site
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.5   
Target Milestone: 0.5 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2012-06-01 10:46:31 EDT

    
Comment 1 Mark Macdonald CLA 2012-06-01 10:49:56 EDT
Using latest code:

1. Go to sites page
2. Try to create a new site

POST http://localhost:8080/workspace 400 (Bad Request) xhr.js:125
  _xhr xhr.js:125
  FileServiceImpl.loadWorkspaces fileImpl.js:78
  _handleRequest


The error body is :
{"HttpCode":400,"Message":"Workspace name not specified","Severity":"Error","Code":0}
Comment 2 Mark Macdonald CLA 2012-06-01 10:58:06 EDT
Looks like it was a copy/paste error
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=bc80c800580936a5ef4b8e98a4a8ae0e32fd1bfb

This didn't affect the navigator, or anything else, because apparently the sites page is the only caller of the File service's 'loadWorkspaces' method...