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

Bug 370865

Summary: Weird error trying to paste a deleted file
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon
Version: 0.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2012-02-07 13:29:09 EST
I20120206-2230

1) Create a folder and drill into it
2) Create a file in the folder
3) Select the file, and hit Ctrl+C to copy it
4) Delete the file
5) Hit Ctrl+V to paste
6) Promoted to select name of the file, keep the suggested name

-> Error message is displayed to the user:

 {"HttpCode":405,"Message":"Only GET method is supported for workspace paths","Severity":"Error","Code":0}{"HttpCode":405,"Message":"Only GET method is supported for workspace paths","Severity":"Error","Code":0}{"HttpCode":405,"Message":"Only GET method is supported for workspace paths","Severity":"Error","Code":0}{"HttpCode":405,"Message":"Only GET method is supported for workspace paths","Severity":"Error","Code":0}
Comment 1 John Arthorne CLA 2012-02-07 13:35:57 EST
A couple of things:

1) The message from the server doesn't look right... "Only GET method is supported for workspace paths" This isn't true.. POST is valid but the problem here is the source doesn't exist.

The  client should be displaying a message rather than printing the entire error JSON object.
Comment 2 John Arthorne CLA 2015-05-05 14:45:19 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html