| Summary: | Node file API should provide ImportLocation on folders | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Node | Assignee: | Project Inbox <orion.server-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | apeller, ken_walker, simon_kaegi |
| Version: | 2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Does not seem to work OOTB even on the top-level of the workspace. Import feature from filesystem is effectively broken? Is there a workaround? Can plugins provide ImportLocation on file objects with the existing API? Also see bug 431663 as the upload really should be going through the file api. 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 |
1. Launch Orion Node server 2. Drill into a project, then drill into a subfolder 3. Try to drag & drop a file from your desktop into the navigator 4. Nothing happens. Something like this may appear in your JS console > POST http://localhost:8081/navigate/undefined 404 (Not Found) fileCommands.js:95 > fileCommandUtils.uploadFile fileCommands.js:95 > (anonymous function) The cause is that the folder does not have an ImportLocation field, so the Orion UI doesn't know where to upload files. We should support this for the NOde server.