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

Bug 399466

Summary: [operations] Change the operation's response when server is down
Product: [ECD] Orion Reporter: Szymon Brandys <Szymon.Brandys>
Component: ClientAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 RC1   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 372277    
Attachments:
Description Flags
Illustration none

Description Szymon Brandys CLA 2013-01-30 04:58:48 EST
When an operation is running and server is down, the response is completely different from regular operations' responses and xhr responses. I"m attaching a screenshot.
Comment 1 Szymon Brandys CLA 2013-01-30 05:04:18 EST
Created attachment 226306 [details]
Illustration

To clarify the bug is about the js api and response from operations.handle(...)
Comment 2 Malgorzata Janczarska CLA 2013-01-31 09:09:38 EST
I changed the response in a way is has a meaningful description, but I modified it so that it's Operation-like, with HttpCode instead of status. I tested it and it works with displaying errors in gitCommands etc. I wanted to make operations API xhr free.