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

Bug 525332

Summary: Dragging a file onto another file results in ENOTDIR exceptions
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: NodeAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 15.0   
Target Milestone: 17.0   
Hardware: PC   
OS: Mac OS X   
See Also: https://github.com/eclipse/orion.client/pull/220
Whiteboard:

Description Michael Rennie CLA 2017-09-28 11:45:03 EDT
Steps:

1. create a file foo.js
2. create a file bar (intentionally with no extension)
3. drag and drop foo.js onto bar

get an exception similar to:

Unhandled rejection Error: ENOTDIR: not a directory, stat '/Users/mrennie/git/orion.client/modules/orionode/.workspace/mi/michael_rennie@ca.ibm.com/OrionContent/Foo|Bar/folder2/foo.js'
    at Error (native)
Comment 1 Eclipse Genie CLA 2017-10-11 14:14:18 EDT
GitHub Pull Request 220 created by [mrennie]
https://github.com/eclipse/orion.client/pull/220
Comment 2 Michael Rennie CLA 2017-10-12 10:39:30 EDT
Merged.