Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370865 - Weird error trying to paste a deleted file
Summary: Weird error trying to paste a deleted file
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 13:29 EST by John Arthorne CLA
Modified: 2015-05-05 14:45 EDT (History)
1 user (show)

See Also:


Attachments

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