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

Bug 422621

Summary: [Orionnode] Import local file... broken
Product: [ECD] Orion Reporter: Lee Surprenant <lmsurpre>
Component: NodeAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Lee Surprenant CLA 2013-11-26 18:24:13 EST
This function seems to be broken for me on both my local installs (both java and node backends).  I've tried it in both Firefox v24.1.1 and also latest chrome stable.  Mac and linux.  But it does work on orionhub.

Is there something special I need to do to enable it?
Comment 1 Mark Macdonald CLA 2013-11-26 20:13:39 EST
That's weird -- it's working for me (Firefox 26).

Can you provide more details to help debug this, eg.

- What is the name and path of the folder you're trying to upload into? 
- What is the name of the file you're trying to upload?
- Presumably you're using the "Import Local File..." command from the gear menu. Do you get different results when you drag & drop the file directly into the Orion file tree?
Comment 2 Lee Surprenant CLA 2013-11-27 16:50:23 EST
- What is the name and path of the folder you're trying to upload into?

I tried a couple different ones.  Just now I created a folder in the workspace called 'test' and it failed in the same way.  It gives no error message.  It just doesn't show up in the folder.

- What is the name of the file you're trying to upload?

Again, tried a few and nothing seems to work.  Just now I created test.txt and tried it with no luck.

- Presumably you're using the "Import Local File..." command from the gear menu. Do you get different results when you drag & drop the file directly into the Orion file tree?

No.  I get the same behavior on drag+drop to the tree, drag+drop to the import file area, and the Browse... button


If it means anything, I verified with another member of my team and it was broke for him too.

If I find the time, I will try to investigate further...but probably not until late next week.
Comment 3 Lee Surprenant CLA 2013-11-27 17:12:04 EST
I tried this one more time with the Java backend and it seems to be working now.  I felt like I tried it yesterday and it was broken, but I must have been mistaken (no updates since then or anything and its definitely working now).

That said, still no luck with orionnode.  I updated from 0.0.23 to 0.0.24 to no avail.  My teammate was also using orionnode.  Switching component to Node.
Comment 4 Lee Surprenant CLA 2013-11-27 17:28:34 EST
Aha! I think I nailed it.  Import local file... IS failing on java backend...but only when the file is emtpy (0 bytes).  Opened a new bug for that at https://bugs.eclipse.org/bugs/show_bug.cgi?id=422718

In orionnode, its always failing (blank file or not), so I've modified the title of this bug and will keep it open.
Comment 5 Mark Macdonald CLA 2013-11-28 12:09:55 EST
(In reply to Lee Surprenant from comment #3)
> That said, still no luck with orionnode.  I updated from 0.0.23 to 0.0.24 to
> no avail.  My teammate was also using orionnode.  Switching component to
> Node.

Right, this is a known issue: the Node server does not support file uploads yet. On top of that, the error is not handled by the UI so it's not at all obvious that it failed.
Comment 6 John Arthorne CLA 2015-05-05 14:46:44 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