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

Bug 425683

Summary: No proper error reporting on deploying application to CF
Product: [ECD] Orion Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: ServerAssignee: Maciej Bendkowski <maciej.bendkowski>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys
Version: 5.0   
Target Milestone: 5.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 422047    

Description Malgorzata Janczarska CLA 2014-01-14 12:03:42 EST
When I click deploy application and there are errors during the deployment I get:
"Result": {
    "BundleId": "unknown",
    "Code": 0,
    "HttpCode": 400,
    "Message": "OK",
    "Severity": "Ok"
  }
I should get Severity: Error and miningful message about what is the problem.
Also cfService should return it in "reject" instead of "resolve", but this will be probably solved when Severity is not Ok.
Comment 1 Maciej Bendkowski CLA 2014-01-17 08:39:59 EST
Fixed with: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=2e68153d3bff0b0110514d4bc542b6dbb0940dd0

1. Fixed couple of error severity levels.
2. Introduced several new error messages.
3. Improved command names so they can carry meaningful information in case of failed push attempts.