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

Bug 495622

Summary: The node server crashes when trying to import the attached zip file
Product: [ECD] Orion Reporter: Olivier Thomann <Olivier_Thomann>
Component: NodeAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 12.0   
Target Milestone: 12.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
zip file to import
none
Proposed patch none

Description Olivier Thomann CLA 2016-06-07 14:52:49 EDT
Created attachment 262285 [details]
zip file to import

The code that does the transfer doesn't provide a listener for 'error'. Therefore if any error occurs, the node server is killed.
Comment 1 Olivier Thomann CLA 2016-06-07 15:46:25 EDT
I need to see how to handle the error case returned to the client. Right now it looks like this is not handled at all.
Comment 2 Olivier Thomann CLA 2016-06-07 16:17:49 EDT
Created attachment 262286 [details]
Proposed patch

Silenio, please review.
Comment 3 Olivier Thomann CLA 2016-06-08 14:43:09 EDT
Delivered as commit 93f21d37d115041ec2696c1b39d8aa94d4e9c711.