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

Bug 521135

Summary: Doing an over-writing move is returning the wrong status code
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: NodeAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 15.0   
Target Milestone: 16.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2017-08-18 14:08:59 EDT
When performing a POST with 'X-Create-Options' set to only 'move', the node server returns a status code of 201, which differs from the 200 the Java server is spec'd to return.
Comment 1 Michael Rennie CLA 2017-09-12 11:34:37 EDT
Fix + tests:

https://github.com/eclipse/orion.client/commit/e14ba77dc4d4d820a8ffdb7ca4e782b7a0463f7e

More details on moving folders and files can be found here:

https://wiki.eclipse.org/Orion/Server_API/File_API#Copy.2C_move.2C_and_delete